#4336: Better implementation of recip for Ratio a
------------------------------------------+---------------------------------
    Reporter:  daniel.is.fischer          |        Owner:  simonmar    
        Type:  proposal                   |       Status:  merge       
    Priority:  normal                     |    Milestone:  Not GHC     
   Component:  libraries/base             |      Version:  6.12.3      
    Keywords:  recip, Ratio, performance  |     Testcase:              
   Blockedby:                             |   Difficulty:              
          Os:  Unknown/Multiple           |     Blocking:              
Architecture:  Unknown/Multiple           |      Failure:  None/Unknown
------------------------------------------+---------------------------------
Changes (by simonmar):

  * status:  patch => merge


Comment:

 Applied, thanks!

 {{{
 Thu Oct 21 02:32:46 PDT 2010  Daniel Fischer <[email protected]>
   * FIX #4336
   Avoid superfluous gcd calculation in recip for Ratio a because numerator
   and denominator are known to be coprime.
 }}}

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