
23 Aug
2009
23 Aug
'09
1:51 p.m.
On Sun, 2009-08-23 at 17:36 +0400, Bulat Ziganshin wrote:
Hello Steve,
Sunday, August 23, 2009, 5:27:48 PM, you wrote:
ghci>> roundN 697.04157958254996 10
697.0415795826
afair, double has 13 decimal digits precision, so your 697.04157958254996 represented by another value. you just looking for miracles
I think its 16 or 17 (significant not decimal digits). Its a miracle that Python achieves! But Haskell does not. Python uses doubles too, and for certain operations it uses arbitrary precision floating point (I think). Steve