[GHC] #10754: truncate /= double2Int

GHC ghc-devs at haskell.org
Fri Aug 14 05:29:24 UTC 2015


#10754: truncate /= double2Int
-------------------------------------+-------------------------------------
        Reporter:  cblp              |                   Owner:
            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 Revisions:
-------------------------------------+-------------------------------------

Comment (by cblp):

 rwbarton, I don't consider this a duplicate of #3070. That is about the
 value of NaN, but this is about consistency-breaking optimization.

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


More information about the ghc-tickets mailing list