Mail Archives: djgpp/1996/06/26/07:20:23
In article <Pine DOT GSO DOT 3 DOT 94 DOT 960625013434 DOT 2111A-100000 AT zippy>, Samuel Vincent <svincent AT cs DOT sonoma DOT edu> 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.
- Raw text -