[GHC] #9238: Negative zero broken

GHC ghc-devs at haskell.org
Wed Jun 25 10:46:41 UTC 2014


#9238: Negative zero broken
------------------------------------------------+--------------------------
        Reporter:  augustss                     |            Owner:
            Type:  bug                          |           Status:  new
        Priority:  normal                       |        Milestone:
       Component:  Compiler                     |          Version:  7.8.2
      Resolution:                               |         Keywords:
Operating System:  Windows                      |     Architecture:
 Type of failure:  Incorrect result at runtime  |  Unknown/Multiple
       Test Case:                               |       Difficulty:
        Blocking:                               |  Unknown
                                                |       Blocked By:
                                                |  Related Tickets:
------------------------------------------------+--------------------------

Comment (by augustss):

 My guess is that this very function (which gives a total order to most
 doubles) is needed instead of ordinary comparison somewhere in the ghc
 optimizer.

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


More information about the ghc-tickets mailing list