News for hackers. Stuff that matters.
Re:Inventor Claims to Have Solved Floating Point Error Problem by squeaky-clean on Thursday January 18, 2018 @02:15PM (#16180341)
I've definitely owned a Casio calculator that worked on fractions rather than decimals and could even work in terms of roots and certain irrational numbers like e and pi.

For example, sqrt(2) + sqrt(8) would print 3 sqrt(2) rather than 4.242640687119286~

I wish I knew how it worked, it's probably something simple like suggested in another comment.

Re:Inventor Claims to Have Solved Floating Point Error Problem by enedil on Thursday January 18, 2018 @04:27PM (#16181629)
Look at any computer algebra system, for exaple sympy (https://sympy.org) and see how they implement it (it's open source).