Date: Tue, 25 Jun 1996 01:35:40 -0700 (PDT) From: Samuel Vincent To: Eli Zaretskii cc: mwallace AT skyler DOT wiltel DOT com, djgpp AT delorie DOT com Subject: Re: Fixed point math In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 25 Jun 1996, Eli Zaretskii wrote: > On Mon, 24 Jun 1996 mwallace AT skyler DOT wiltel DOT com wrote: > > > Does anyone have or know of any good fixed point math > > routines written for DJGPP? I've tried porting from > > other compilers, but I am not having any luck. It > > seems like sometimes they work, sometimes they don't. > > Allegro seems to have it. I didn't look, but the recent announcement by > its author says this (among other features): > > Fixed point 16.16 math functions including lookup table trig. > > You can get Allegro at this URL: > > ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2tk/alleg21.zip I am curious. Is there any reason long long ints are not used for fixed point math? It would provide 64 bits of precision.. Making a 32.32 possible... -Sam