[GHC] #13552: Enum Float/Double does not match Haskell Report

GHC ghc-devs at haskell.org
Mon Apr 10 21:26:52 UTC 2017


#13552: Enum Float/Double does not match Haskell Report
-------------------------------------+-------------------------------------
        Reporter:  Luke              |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  libraries/base    |              Version:  8.0.1
      Resolution:                    |             Keywords:
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 bgamari):

 I'm rather confused, `GHC.Real.numericFrom` and friends (which the `Float`
 `Enum` instances use) claim that,
 {{{#!hs
 -- These 'numeric' enumerations come straight from the Report
 }}}
 Was the report changed?

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


More information about the ghc-tickets mailing list