Skip to content

Floating pt. arithmetic bugs / inexplicable inaccuracy

in ghci 6.0.1, eg:

Prelude> 1.1 + 2.2
3.3000000000000003
Trac metadata
Trac field Value
Version None
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedNoReason
Component None
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information