
14 Nov
2008
14 Nov
'08
9:32 a.m.
Hello I was wondering if there is a bug in GHC 6.10.1 regarding number precision. As an example, in GHCi with:
3.0 * 0.2
I get: 0.6000000000000001 Although:
2.0 * 0.2 0.4
I have GHC 6.10.1 on Mac OS X 10.5. Is this a known bug or should I report it? Best regards Zé Pedro