#4344: Better toRational for Float and Double
----------------------------------------+-----------------------------------
    Reporter:  daniel.is.fischer        |        Owner:                         
        Type:  bug                      |       Status:  new                    
    Priority:  normal                   |    Milestone:                         
   Component:  Compiler                 |      Version:  6.12.3                 
    Keywords:  toRational, performance  |     Testcase:                         
   Blockedby:                           |   Difficulty:                         
          Os:  Unknown/Multiple         |     Blocking:                         
Architecture:  Unknown/Multiple         |      Failure:  Runtime performance bug
----------------------------------------+-----------------------------------

Comment(by daniel.is.fischer):

 > not if I (.&.) with an Int64 at least, must try whether (.&.)-ing with
 an Int is faster
 Indeed it is. Not much, about 3%, but hey.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4344#comment:6>
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