Carl Osterwisch a1e6e9301e
fix: nearly-zero temperature conversion result (#2962)
* Test for roundoff error due to offset

* Set result to exactly 0 if it is within config.epsilon of 0

* Add more offset conversion tests

* Represent degR unit value as a Fraction(5, 9)

* Accurately convert from fraction to bignumber

* Add more tests demonstrating the improved offset conversions

---------

Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
2023-07-12 13:21:56 +02:00
..
2022-07-19 12:04:35 +02:00
2023-02-23 19:24:55 +01:00