[GHC] #9534: IEEE Standard 754 for Binary Floating-Point Arithmetic by Prof. W. Kahan, UCB

GHC ghc-devs at haskell.org
Wed Sep 10 18:38:02 UTC 2014


#9534: IEEE Standard 754 for Binary Floating-Point Arithmetic by Prof. W. Kahan,
UCB
-------------------------------------+-------------------------------------
              Reporter:  jrp         |            Owner:
                  Type:  task        |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Test Suite  |          Version:  7.8.3
            Resolution:              |         Keywords:  IEEE754
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Moderate (less
       Type of failure:  Incorrect   |  than a day)
  result at runtime                  |       Blocked By:
             Test Case:              |  Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by carter):

 I think the simplest answer would be to change how we define compare to
 use the IEEE total order
 it'd still be *weird* on NANs, but it'd be commutative again.

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


More information about the ghc-tickets mailing list