[sage-support] Re: feature request/proposal concerning the method nearby_rational

2008-01-31 Thread Paul Zimmermann
John, > A variation of this, which would be useful in some elliptic curve > calculations, would be a function > RR(x).nearby_rational_whose_denominator_is_a_perfect_square(). > > For either problem, is there a better solution than going through the > continued fraction convergents until o

[sage-support] Re: feature request/proposal concerning the method nearby_rational

2008-01-31 Thread John Cremona
A variation of this, which would be useful in some elliptic curve calculations, would be a function RR(x).nearby_rational_whose_denominator_is_a_perfect_square(). For either problem, is there a better solution than going through the continued fraction convergents until one is found which has the