From: Christoph Date: 2005-05-06T03:45:44+09:00 Subject: Re: Float to Rational Zane Dodson schrieb: >Knuth has a discussion of this in `Seminumerical Algorithms, The Art >of Computer Programming, vol. 2.' > >In the third edition, it is in sec. 4.5.3 (pp. 356ff). See also >exercise 4.5.3.2 > > Florian's solution is of course nothing but continued fraction - without the (relative) error term he could be into a long wait calling #to_r unless he is very lucky .. /Christoph