[GHC] #4336: Better implementation of recip for Ratio a
GHC
cvs-ghc at haskell.org
Thu Oct 21 06:31:04 EDT 2010
#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 <daniel.is.fischer at web.de>
* 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
More information about the Glasgow-haskell-bugs
mailing list