float constant dumps core
ghci dumps core if I enter a floating point constant in
any expression:
Prelude> 1.0
Illegal instruction (core dumped)
Any program compled by ghc which contains a floating
point constant dumps core in the same way if/when the
constant is evaluated (but it does compile OK).
Coercion from integer to float works in both ghc and
ghci:
Prelude> 1 :: Float
1.0
(0.48 secs, 7109136 bytes)
Trac metadata
Trac field | Value |
---|---|
Version | 5.0 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | ResolvedFixed |
Component | Runtime System |
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