axiom-developer
[Top][All Lists]
Advanced

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

Re: [Axiom-developer] Output problem


From: root
Subject: Re: [Axiom-developer] Output problem
Date: Sat, 21 Jun 2003 07:33:34 -0400

Juergen,


> there is a problem with the generation of output
> (1) -> [ i**3 for i  in 1..10]
> 
>    (1)  [1,8,27,64,125,216,343,512,729,100]
>                                                    Type: List PositiveInteger
> 
> If you trace |processInteractive| you can really see, that
> it's an output problem.
> 
> I ran the test with the Linux distribution of axiom and the
> Linux libraries on FreeBSD. So I think, it's an akcl, not
> a FreeBSD problem. The bad output does not happen on
> cmu cl. Probably a rounding problem (the output of 1001
> is correct)

Nobody really needs numbers larger than 3 digits :-)

Curiously, if you do the loop [ i**3 for i  in 1..12] all of the
other answers are right. 

The major difference between the CVS version of Axiom and the
hand-built distribution is the algebra files. The hand-built
version of the algebra is compiled using NAG's version of Axiom.
The CVS version is built from the CVS sources. Both give the
same wrong answer so it may be that the bug is in the output
routine in the algebra code. 

Good catch. I'll put it on the known bugs list.

Tim Daly
address@hidden
address@hidden




reply via email to

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