Re:Can we trust floating-point numbers? (2006) [pdf]
by carterschonwald on Tuesday September 16, 2014 @12:47PM
(#8325437)
In haskell, every literal is constructed via an Integer (big int) or Rational, which is then converted into the final representation. (roughly). I'm actually slowly doing some auditing of GHC Haskell's floating point machinery as I find the time.
[ Parent
| on HN ]
Re:Can we trust floating-point numbers? (2006) [pdf]
by dragonwriter on Tuesday September 16, 2014 @12:55PM
(#8325470)
That makes sense as the underlying implementation approach, but I was more referring to the "final" representation (I've also edited the description as it regards Haskell with more details, since its not really about literal handling specifically, though that's subsumed within it.)