Re:Papers and essays that every programmer should be aware of
by thetwiceler on Sunday June 30, 2013 @09:15AM
(#5965660)
I totally agree. Unless we decide to leave the field of rational numbers (with exponents, trigonometrics or nth roots), there's little reason not to keep the exact rational number around.
Fortunately Haskell does this too with Data.Ratio!
This is, IMO, clearly the best approach for a general purpose language, and far superior to the large number of languages which lack even a convenient syntax for exact decimal literals.