On Sun, 21 Jan 2007, Yitzchak Gale wrote:

> You always get the best approximation for a Rational
> using continued fractions. For most calculations that
> is easier said than done, but for square root we are
> very lucky.

Certainly no surprise - there is already an implementation of continued
fractions for approximation of roots and transcendent functions by Jan
Skibinski:
 http://darcs.haskell.org/numeric-quest/Fraction.hs
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to