The fun part here is we can use numerator/denominator syntax with
open-ended
precision integers, to like express sqrt of 19 as some humongous fraction
(as many digits as memory will allow). This lets us far surpass the
floating point barrier.
For example, the sqrt of 19 is rougly:
n = ((pow(orig,0.5) + addterm)/denom)**2
H, this may be the Achilles heal of my project, to not use any sqrt
finder in the process of finding a sqrt using continued fractions. Back to
the drawing board?
Kirby
[EMAIL PROTECTED] wrote:
The fun part here is we can use numerator/denominator syntax with
open-ended
precision integers, to like express sqrt of 19 as some humongous fraction
(as many digits as memory will allow). This lets us far surpass the
floating point barrier.
OK, here we go:
def