basvandijk / scientific

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

Fix #21 #25

Closed neongreen closed 9 years ago

neongreen commented 9 years ago

Fixes both the

Prelude Data.Scientific> reads "0.0" :: [(Data.Scientific.Scientific,String)]
[(0.0,".0"),(0.0,"")]

problem and the

 read " 8" :: Scientific fails, while read " 8" :: Double succeeds

problem.

basvandijk commented 9 years ago

Thanks very much!

Released as 0.3.3.7.