[Haskell-beginners] How to improve the accuracy of floating point calculation?

yi lu zhiwudazhanjiangshi at gmail.com
Tue Feb 5 23:41:17 CET 2013


I found that in ghci, I input
and run, I get a result of


But, as you know, it is not the exact answer.

So, I wonder if there is something I can do to achieve a better performance
and get [0.1,0.2,0.3,0.4..] as the result.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130206/cc008345/attachment.htm>

More information about the Beginners mailing list