[GHC] #9530: min / max do not always return the other argument when one of the arguments is NaN

GHC ghc-devs at haskell.org
Sun Aug 31 23:07:02 UTC 2014


#9530: min / max do not always return the other argument when one of the arguments
is NaN
-------------------------------------+-------------------------------------
              Reporter:  jrp         |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Prelude     |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:  MacOS X     |     Architecture:  Unknown/Multiple
       Type of failure:  Incorrect   |       Difficulty:  Easy (less than 1
  result at runtime                  |  hour)
             Test Case:              |       Blocked By:  9276
              Blocking:              |  Related Tickets:  9276
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by carter):

 oh, and http://www.wellposed.com/standards-documents-
 cache/IEEE%20754%202008%20floating%20point%20standard%20fpstandard-2008.pdf
 is copy of the ieee spec i keep handy :)

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


More information about the ghc-tickets mailing list