gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] Re: [Axiom-developer] list bug


From: root
Subject: [Gcl-devel] Re: [Axiom-developer] list bug
Date: Fri, 18 Jul 2003 17:13:34 -0400

Camm,

Bill Page pointed me to an email (which I either never received or
it never hit my long-term memory) from Juergen Weiss that found the
root of the display problem. The LOG10 function in GCL returns 
rounded values that are used in the output length computation
(src/interp/i-output.boot.pamphlet, line 843).

The GCL results are:
log10(100) ==> 2.0
log10(1000) ==> 2.9999999999999996

we take the floor of the results as the length of the number
giving (floor (log10 1000)) => 2 rather than 3. Patching the
generated boot.clisp code and reloading it fixes the problem.
For now I'll add a fudge factor into the boot code.

Many thanks to Juergen and Bill.

Tim Daly
address@hidden
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]