16 Sep
2008
16 Sep
'08
12:35 p.m.
On Tue, Sep 16, 2008 at 11:19 AM, Eugene Salamin <gene_salamin@yahoo.com> wrote:
I don't understand this at all. The return values are real numbers between 0 and 1, not integers. For example, in Maple 12:
L3(evalf(Pi), evalf(exp(1)), evalf(sqrt(2))); 0.304068266, 0.423310826, 0.727379092
Gene
Yeah, he should be keeping the integer part of the differences for the answer rather than throwing them away and returning the fractional part. This code just says "here's a lattice point near zero" without telling you the coefficients. -- Mike Stay - metaweta@gmail.com http://math.ucr.edu/~mike http://reperiendi.wordpress.com