[GHC] #10754: truncate /= double2Int
GHC
ghc-devs at haskell.org
Fri Aug 14 06:28:34 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 rwbarton):
While not exactly identical, the issues here and in #3070 are so closely
related that any attempt to address one should also take the other into
consideration. So, it's more helpful if the discussion is consolidated
into one ticket thread.
Certainly we would not give up the rule `truncate = double2Int` simply
because the two sides give different nonsense outputs for the same
nonsense input.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10754#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list