XLR8 Floating Point Library
Floating point math on Arduino processors is slow.
Floating point math on Alorium Technology's XLR8 Floating Point Library is fast.
Features:
- Arduino Uno compatible
- Floating Point Add, Subtract, and Multiply in just 6 cycles (versus ~100-130 on AVR processors)
- Floating Point Divide in just 17 cycles (versus 500-600 on AVR processors)
Usage:
- Select Uno board in Arduino IDE
- Include XLR8Float Library
- Use accelerated functions for floating point math
c = xlr8FloatAdd(a,b); // performs c = a + b
c = xlr8FloatSub(a,b); // performs c = a - b
c = xlr8FloatMult(a,b); // performs c = a * b
c = xlr8FloatDiv(a,b); // performs c = a / b