You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Binary floating point math is imprecise when dealing with decimal numbers, for example 1.1 0.5 - is calculated as 0.6000000000000001. This could be solved if the numbers are represented as rational internally, because rational numbers use integer math.
This library, for example, provides computations on rational numbers.
I hope this won't be too much trouble to implement, and thank you for making this app :)
The text was updated successfully, but these errors were encountered:
Gave this a try and it was a simple change, so this fix will be included in the next release. I'll probably be able to have it out on the Google Play version next week, but given the slow and unpredictable pace of F-Droid's build + release process, it may be a few weeks before it lands there.
Binary floating point math is imprecise when dealing with decimal numbers, for example
1.1 0.5 -
is calculated as0.6000000000000001
. This could be solved if the numbers are represented as rational internally, because rational numbers use integer math.This library, for example, provides computations on rational numbers.
I hope this won't be too much trouble to implement, and thank you for making this app :)
The text was updated successfully, but these errors were encountered: