[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Axiom-developer] Output problem
From: |
Mike Dewar |
Subject: |
Re: [Axiom-developer] Output problem |
Date: |
Wed, 25 Jun 2003 10:22:20 +0100 |
This works fine in the last NAG version of Axiom, built using CCL.
Mike.
On Sat, Jun 21, 2003 at 07:33:34AM -0400, Tim Daly wrote:
> 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
>
>
> _______________________________________________
> Axiom-developer mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/axiom-developer
>
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star Internet. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ________________________________________________________________________
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________