出典:Wikipedia
出典:『Wikipedia』 (2011/06/14 11:09 UTC 版)
libfixmath is a platform-independent fixed point maths library aimed at developers wanting to perform fast non-integer maths on platforms lacking a 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). Work is underway to remove the requirement for a 64-bit capable compiler as many compilers for microcontrollers and DSPs do not support 64-bit arithmetic.