On Wed, Apr 8, 2009 at 7:20 PM, Henry Rich <[email protected]> wrote:
> The continued fractions I want to work with are infinite repeating,

Those represent quadratic irrationals, that is, numbers built from
integers by addittion, multiplication, division, and square root,
don't they?  I once attempted to write (non-J) code that does
computations on such numbers, but represented as such symbolic
formulae built from these operations, not continued fractions.  I
abandonned it (though I might later try to develop it more) and I'm
not sure if it gets into an infinite loop or is just really slow.  The
code is unoptimized, I wrote the bare minimum that I think is enough
to make it run in finite time for all cases.  I can send it if you're
interested.

Ambrus
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to