basvandijk / scientific

Arbitrary-precision floating-point numbers represented using scientific notation
BSD 3-Clause "New" or "Revised" License
73 stars 40 forks source link

Weird Show behaviour #11

Closed bos closed 10 years ago

bos commented 10 years ago

Can't say I was expecting this:

ghci> import Data.Scientific
ghci> 1e300 :: Scientific
1.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e300
basvandijk commented 10 years ago

This should be fixed in scientific-0.3.