GY-63_MS5611/libraries/IEEE754tools
2021-05-28 14:16:25 +02:00
..
.github/workflows add arduino-lint 2021-05-28 13:17:38 +02:00
examples update libraries E-I 2020-11-27 11:16:22 +01:00
test 2021-01-29 2021-01-29 12:31:58 +01:00
.arduino-ci.yml 2021-01-29 2021-01-29 12:31:58 +01:00
IEEE754tools.h 2021-01-29 2021-01-29 12:31:58 +01:00
library.json add license to library,json 2021-05-28 14:16:25 +02:00
library.properties 2021-01-29 2021-01-29 12:31:58 +01:00
LICENSE 2021-01-29 2021-01-29 12:31:58 +01:00
readme.md 2021-01-29 2021-01-29 12:31:58 +01:00

Arduino CI License: MIT GitHub release

IEEE754tools

Arduino library to manipulate IEEE754 float numbers fast.

Description

IEEE754tools.h contains a collection of bit-hacks to speed up a number of operations on floating point numbers on the Arduino. These bit-hacks started in 2010 (oldest code found) or maybe even earlier.

http://en.wikipedia.org/wiki/Double_precision

http://en.wikipedia.org/wiki/Single-precision_floating-point_format

WARNING

  • If you don't need micro-second speedups do not use these code snippets.
  • code is experimental, so use with care.
  • only tested on UNO

Future

  • investigate other speedups
  • write more examples
  • test on ESP32
  • test with double
  • binary transfer over Serial

Operations

See examples