News for hackers. Stuff that matters.
Re:Yet another alternative to floating-point numbers by the5avage on Sunday November 01, 2020 @07:38AM (#24959048)
Why not use something like this? Am i missing something?

bellard.org/libbf

Re:Yet another alternative to floating-point numbers by lifthrasiir on Sunday November 01, 2020 @07:56AM (#24959143)
Arbitrary-precision numbers still fall short of real numbers. Most math functions like sqrt or sin can return an irrational number even for rational inputs, so you always need to track the error. Even libbf itself does the same for internal calculation (keyword: Ziv's rounding test).