Re: [AD] [ alleg-Bugs-1650580 ] Problem in fixed point library. |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Coordination of admins/developers of the game programming library Allegro <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] [ alleg-Bugs-1650580 ] Problem in fixed point library.
- From: Elias Pschernig <elias@xxxxxxxxxx>
- Date: Sun, 04 Feb 2007 15:40:43 +0100
On Sun, 2007-02-04 at 07:35 -0700, Thomas Fjellstrom wrote:
>
> if its really fixed math, it really aught to be fixed. Whats the point in
> implementing a fixed point math api with floating point operations?
> especially for platforms that don't have a fpu (ie: nds).
>
Yes, that's what I thought too at first. But as I just said on the bug
tracker, all that counts is obtaining the correct result in the fastest
possible way. And this seems to be the float version.
Therefore, a platform for which another implementation is faster should
simply use another implementation (like we do for 32-bit intel already
which uses its own faster fixdiv implementation).
--
Elias Pschernig