[svlug] Fixed point math library for C -- recommendations?

Kristian Erik Hermansen kristian.hermansen at gmail.com
Wed Nov 21 12:13:43 PST 2007


On Nov 21, 2007 1:40 PM, Bill Kendrick <nbs at sonic.net> wrote:
> Is there a library, or perhaps source-mangling tool, that can convert
> floating math in C program to fixed point?  I'd like to keep the float stuff
> in the main codebase, if at all possible...  both to keep the code
> human-readable, and to continue to take advantage of the real floating point
> math on systems with FPUs.  (Arguably, most systems running Tux Paint, since
> most users are on Windows, Mac OS X and Linux, systems, respectively [2].)
>
> I'd obviously prefer something common (e.g., in Ubuntu and Debian), so that
> other developers can continue working on Tux Paint with the least fuss... :)

Does libm not support such a feature?
-- 
Kristian Erik Hermansen




More information about the svlug mailing list