Documentation
Tools for embedded systems
Loading...
Searching...
No Matches
Fast floating point math library and extensions

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:

Classification

Basic functions

Trigonometric functions

Exponential functions

Special functions

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.

Constants

Math extra