[GHC] #10754: truncate /= double2Int

GHC ghc-devs at haskell.org
Sun Jan 28 18:22:04 UTC 2018


#10754: truncate /= double2Int
-------------------------------------+-------------------------------------
        Reporter:  cblp              |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  libraries/base    |              Version:  7.10.2
      Resolution:  duplicate         |             Keywords:  truncate,
                                     |  double2Int, rewrite, rule
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by cblp):

 I don't think you can consider Infinity a nonsense because it is a valid
 IEEE 754 value.

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


More information about the ghc-tickets mailing list