[GHC] #3676: realToFrac doesn't sanely convert between floating types

GHC ghc-devs at haskell.org
Thu Apr 14 22:56:56 UTC 2016


#3676: realToFrac doesn't sanely convert between floating types
-------------------------------------+-------------------------------------
        Reporter:  draconx           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  ⊥
       Component:  Core Libraries    |              Version:  6.12.1
      Resolution:                    |             Keywords:  report-impact
Operating System:  Unknown/Multiple  |         Architecture:  x86_64
                                     |  (amd64)
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonmar):

 Documenting things is good, but
 * Instead of linking to the ticket, explain *why* the function shouldn't
 be used
 * We cannot recommend using internal APIs (`GHC.Float`)

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


More information about the ghc-tickets mailing list