#4383: Uncanonical display of Double
----------------------------------+-----------------------------------------
Reporter: daniel.is.fischer | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries/base
Version: 6.12.3 | Keywords: Double, show
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Incorrect result at runtime
----------------------------------+-----------------------------------------
Changes (by augustss):
* cc: lenn...@… (added)
Comment:
That code is pretty impenetrable. :)
My guess is that the log estimator doesn't do the right thing for negative
exponents. Try (fixup (k0-1)).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4383#comment:1>
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