[commit: base] master: Fix fromRat' and fromRat'' (2ff889f)

Ian Lynagh igloo at earth.li
Tue Oct 4 21:10:57 CEST 2011


On Tue, Oct 04, 2011 at 11:21:44AM -0700, Daniel Fischer wrote:
> 
>     fromRat' no longer uses scaleRat, if we're confident nobody uses that,
>     we could remove it.
> 
>  -- Scale x until xMin <= x < xMax, or p (the exponent) <= minExp.
>  scaleRat :: Rational -> Int -> Rational -> Rational -> Int -> Rational -> (Rational, Int)

Removing it sounds reasonable, if GHC builds without it.


Thanks
Ian




More information about the Cvs-libraries mailing list