There were some small errors in the Double demo program, using the wrapper class. These were fixed with V1.1.23.
Category: Uncategorized
V1.1.22 More examples & Double wrapper class
Based on some posts on various arduino platforms, it seems that especially programming beginners have had some difficulties in using fp64lib. In order to ease entry into fp64lib, the Examples section of the homepage was overhauled, existing examples were updated and new examples were added, including a wrapper class called Double.
V1.1.21 fixes some bugs
Issues #16 (wrong value from fp64_log2) and #18 (wrong values from fp64_uint16_to_float64) were fixed.
Homepage updated
With V1.2.20, fp64lib already implements 80 functions and it was time to give the users a little bit more structure on what is available. Therefore, the library references was made consistent in style, a table of contents for the more complex pages were introduced and a new page lists the functions by functional groups (like basic math, trigonometric functions, …). Hope this helps especially new users.
V1.1.20 new function for better math.h coverage
The following functions were added to improve coverage required for full math.h compatibility:
fp64_ilogb, fp64_logb, fp64_exp2, fp64_asinh, fp64_acosh, fp64_atanh, fp64_scalbln, fp64_scalbn
See the library reference for details on these functions.
About
fp64lib is a library for implementing 64-bit floating point arithmetic on the AVR MegaAVR architecure microprocessors, like the popular Arduino series. Data format is fully compatible with IEEE 754 binary64 standard, providing about 15-17 digits of accuracy.
The library comes with a math.h compatible head file named “fp64-math.h”. All fp64lib routines start with “fp64_”, e.g. fp64_sin or fp64_add. Library is fully compatible to usual “math.h” routines and include functions for basic arithmetic, checking and comparing, trigonometry, conversion, logarithms and hyperbelic math. Read more…
V1.1.19 fixed bugs for programs >64kB
Some bugs, especially in fp64_to_string and supporting functions were fixed to support programs >64kB, e.g. on the ATMEGA 2560.
V1.1.18 enables programs >64kB
fp64lib now supports programs that use more than 64kB of flash memory, e.g. on the ATMEGA 2560.
V1.1.17 fixes bug in fp64_atan2
For some arguments, fp64_atan2 did not calculate correct results. This is fixed now.
V1.1.16 fixes bug in fp64_modf
This release contains a complete rewrite of fp64_modf, both to fix a code and to have an easier way to get both the fraction part and the integer part of a number. Additionaly, the new code is now fully compatible with C/C++ for +INF/-INF.