[GHC] #4383: Uncanonical display of Double

GHC cvs-ghc at haskell.org
Fri Oct 8 13:59:25 EDT 2010


#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
----------------------------------+-----------------------------------------
 {{{
 Prelude> 0.5 ^ 1030
 0.8691694759794e-310
 }}}
 Should of course be 8.69...e-311, just to have it on record for now.

 I'll take a look at the showing code one of the next days.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4383>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list