Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!seismo!ll-xn!cit-vax!tybalt.caltech.edu!sho From: sho@tybalt.caltech.edu.UUCP Newsgroups: comp.sys.mac Subject: X2Fix and Long2Fix in LSC Message-ID: <3857@cit-vax.Caltech.Edu> Date: Tue, 1-Sep-87 18:50:33 EDT Article-I.D.: cit-vax.3857 Posted: Tue Sep 1 18:50:33 1987 Date-Received: Thu, 3-Sep-87 01:48:46 EDT Sender: news@cit-vax.Caltech.Edu Reply-To: sho@tybalt.caltech.edu.UUCP (Sho Kuwamoto) Organization: California Institute of Technology Lines: 19 I am in the process of converting a program to use the fixed point routines. My version of LSC seems to choke on both X2Fix() and Long2Fix(). The first bug occured in a line like FixMul(X2Fix(5.0), X2Fix(5.0)); Which gave a "Pascal argument wrong size" error. After putting in a line of the form Fixed X2Fix(); I just get a link error that says X2Fix is undefined. However, Fix2X seems to be recognized. What is going on? I have an old version of the manual, so it is not much help. My guess is that the type double is not defined as an extended, and the routine which converts doubles to Fixed is called somthing else. Something I should have checked when I was at work. *sigh*. -Sho