fpprintprec



I'm pretty sure that all of them were doubles; in GCL:

(%i1) float(%pi);
(%o1) 3.141592653589793

(%i2) ?print(%);
3.1415926535897931 

Notice ...793 vs ...7931.  Regardless of the value of fpprintprec  the 
last digit isn't printed in GCL, I think.



Barton

maxima-bounces at math.utexas.edu wrote on 10/08/2008 10:00:16 AM:

> [image removed] 
> 
> Re: [Maxima] fpprintprec
> 
> Raymond Toy 
> 
> to:
> 
> Barton Willis
> 
> 10/08/2008 10:05 AM
> 
> Sent by:
> 
> maxima-bounces at math.utexas.edu
> 
> Cc:
> 
> fateman, MAXIMA LIST, Stavros Macrakis
> 
> Barton Willis wrote:
> > By the way,  sometime ago I changed the equality testing in the Maxima 

> > test suite. I found a bunch of tests
> > that failed with the new equality test because the last digit of a 
float 
> > was missing in the expected answer.
> > (The old equality test was too forgiving.)
> > 
> >  So, it would be great if we had better printing of floats.
> 
> Floats or bfloats?  I'm not planning on doing anything about floats.  If
> they're wrong, we need to complain about the underlying lisp.
> 
> I'm willing to fix it for bfloats, though.
> 
> Ray
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima