[GHC] #9564: Floating point subnormals overrounded on output

GHC ghc-devs at haskell.org
Wed Sep 10 17:03:07 UTC 2014


#9564: Floating point subnormals overrounded on output
-------------------------------------+-------------------------------------
              Reporter:  jrp         |            Owner:  simonmar
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Runtime     |          Version:  7.8.3
  System                             |         Keywords:
            Resolution:              |     Architecture:  x86_64 (amd64)
      Operating System:  MacOS X     |       Difficulty:  Unknown
       Type of failure:  Incorrect   |       Blocked By:
  result at runtime                  |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by jrp):

 Are we not at risk of overcomplicating this?

 raskell (hugs, I think) shows
 {{{
 2**(-149)
 1.40129846432483e-45


 2**(-149)::Float
 1.401298e-45
 }}}

 which is more what I would expect.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9564#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list