Skip to content
Hardware acclerated floating point math. For Arduino Uno compatible XLR8 board from Alorium Technology
VHDL Verilog Tcl Shell SystemVerilog C++ Other
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples/XLR8FloatTest Adding files needed to be able to implement the floating point unit as Aug 10, 2017
extras Adding files needed to be able to implement the floating point unit as Aug 10, 2017
LICENSE Initial commit of Floating Point Library Dec 7, 2015
README.md Initial commit of Floating Point Library Dec 7, 2015
XLR8Float.cpp Add Convert Feb 24, 2016
XLR8Float.h Add Convert Feb 24, 2016
keywords.txt Initial commit of Floating Point Library Dec 7, 2015
library.properties

README.md

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
You can’t perform that action at this time.