On Tue, Jun 5, 2012 at 10:51 AM, Bryan O'Sullivan <b...@serpentine.com> wrote: > If you need the full precision, use rational instead. The double parser is > there because parsing floating point numbers is often a bottleneck, and > double intentionally trades speed for precision.
Relevant code in https://github.com/bos/attoparsec/blob/master/Data/Attoparsec/ByteString/Char8.hs -- Johan _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe