GY-63_MS5611/libraries/IEEE754tools
2023-01-30 11:55:26 +01:00
..
.github 0.2.4 IEEE754tools + github update 2023-01-30 11:55:26 +01:00
examples 0.2.3 IEEE754tools 2021-12-20 08:09:14 +01:00
test 0.2.4 IEEE754tools 2022-11-13 09:47:33 +01:00
.arduino-ci.yml 0.2.4 IEEE754tools 2022-11-13 09:47:33 +01:00
CHANGELOG.md 0.2.4 IEEE754tools 2022-11-13 09:47:33 +01:00
IEEE754tools.h 0.2.4 IEEE754tools 2022-11-13 09:47:33 +01:00
library.json 0.2.4 IEEE754tools 2022-11-13 09:47:33 +01:00
library.properties 0.2.4 IEEE754tools 2022-11-13 09:47:33 +01:00
LICENSE 0.2.4 IEEE754tools + github update 2023-01-30 11:55:26 +01:00
readme.md 0.2.4 IEEE754tools 2022-11-13 09:47:33 +01:00

Arduino CI Arduino-lint JSON check License: MIT GitHub release

IEEE754tools

Arduino library to manipulate IEEE754 float numbers fast.

Description

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

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

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

WARNING

  • do not use this lib for production code unless you verified the correctness. Code is experimental, so use with care at your own risk.
  • If you don't need micro-second speed ups do not use these code snippets.
  • do not use for ESP32 ESP32 does things differently ==> not all code works.

Test results examples

updated for 0.2.2

example UNO ESP32
fastNegate Y Y
float2Double Y N
IEEE754_equal Y N

ESP32 - needs investigation as UNO verified code fails. (something for a long winter)

Operations

See examples

Future

must

  • test with double
  • test on ESP23

should

  • investigate other speed ups
  • bring more structure in this library.

could

  • write more examples
    • example binary transfer over Serial
    • example binary transfer over Ethernet
  • link to float16 in documentation