Documentation
Tools for embedded systems
|
qLibs provides its own math library with a set of APIs to compute common mathematical functions and transformations. The qlibs::ffmath can replace a default math floating-point library, delivering better performance with less code delivering a very close aproximations to the standard library. qlibs::ffmath is very fast and small, it delivers FPU-like performance in pure software. Where available, it even boosts the performance of an FPU for complex mathematical functions.
The list of provided functions and constants:
Most special functions are designed to prioritize precision over speed given their applications, and their implementation closely follows that of the C++ standard. qlibs::ffmath provides these special functions to ensure compatibility with compilers that lack them.
inf
as a 32-bit floating point numbernan
as a 32-bit floating point number