libfixmath
| libfixmath | |
|---|---|
| Developer | Ben Brewer |
| Stable release | r64
/ February 2, 2012 |
| Written in | C99 |
| Operating system | Cross-platform |
| Type | fixed-point math library |
| License | MIT |
| Website | code |
| Repository | |
libfixmath is a platform-independent fixed-point math library aimed at developers wanting to perform fast non-integer math on platforms lacking a (or with a low performance) FPU. It offers developers a similar interface to the standard math.h functions for use on Q16.16 fixed-point numbers. libfixmath has no external dependencies other than stdint.h and a compiler which supports 64-bit integer arithmetic (such as GCC). Conditional compilation options exist to remove the requirement for a 64-bit capable compiler as many compilers for microcontrollers and DSPs do not support 64-bit arithmetic.