#3676: realToFrac doesn't sanely convert between floating types
----------------------------------+-----------------------------------------
    Reporter:  draconx            |        Owner:              
        Type:  bug                |       Status:  new         
    Priority:  normal             |    Milestone:  6.12.2      
   Component:  libraries (other)  |      Version:  6.12.1      
    Keywords:                     |   Difficulty:              
          Os:  Unknown/Multiple   |     Testcase:              
Architecture:  x86_64 (amd64)     |      Failure:  None/Unknown
----------------------------------+-----------------------------------------

Comment(by simonpj):

 Yes, that's because the library `GHC.Float` contains the (clearly
 incorrect) RULE
 {{{
 "realToFrac/Double->Double" realToFrac   = id :: Double -> Double
 }}}
 This ticket really really needs someone who knows and cares about numbers
 to figure out what the Right Thing is.  It's a library issue involving
 only Haskell source code.  Would someone like to help?

 Thanks

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3676#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to