#4381: scaleFloat does not handle overflow correctly.
---------------------------------+------------------------------------------
Reporter: draconx | Owner: simonmar
Type: bug | Status: patch
Priority: normal | Milestone:
Component: libraries/base | Version: 6.12.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Incorrect result at runtime
---------------------------------+------------------------------------------
Changes (by simonmar):
* owner: daniel.is.fischer => simonmar
Comment:
I don't fully understand the patch. Why the magic 2500 value? Why isn't
it different for 32 vs. 64 bit, or Float vs. Double? If you could write a
short explanation for us non-floating-point-experts I'll drop it into the
code as a comment. Thanks!
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4381#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs