[Haskell-cafe] 'Scientific' loses significant digits

Alex alex323 at gmail.com
Tue Aug 25 22:34:29 UTC 2015


Hi:

Does anyone know why is this true?

((fromJust . readMaybe) "1.00000000" :: Scientific) == ((fromJust . readMaybe) "1" :: Scientific)

-- 
Alex


More information about the Haskell-Cafe mailing list