Xref: news2.mv.net comp.os.msdos.djgpp:5397 From: stwand07 AT uctvms DOT uct DOT ac DOT za Newsgroups: comp.os.msdos.djgpp Subject: Re: Fixed point mathy Date: 26 Jun 96 09:14:13 +0200 Organization: University of Cape Town Lines: 18 Message-ID: <1996Jun26.091413@uctvms.uct.ac.za> References: NNTP-Posting-Host: uctvms.uct.ac.za To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article , Samuel Vincent writes: > On Tue, 25 Jun 1996, Eli Zaretskii wrote: > > 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 > > I think 16.16 is faster since it fits into one register, and is accurate enough for most games, which is what Allegro is primarily intended for. 16.16 gives an accuracy of 1/65536. I would suggest that if you need 32-bit accuracy, you may as well stick with floats and the emulator if you have no FPU. Adios Mark Wodrich.