fpprintprec



Dear all,


I am a beginner in Maxima. I am using version 5.16.3 (CLISP). Is it 
possible that the function fpprintprec does not what it is supposed to do?
The manual says that

"For bigfloat numbers, when |fpprintprec| has a value between 2 and 
|fpprec| (inclusive), the number of digits printed is equal to 
|fpprintprec|. Otherwise, |fpprintprec| is 0, or greater than |fpprec|, 
and the number of digits printed is equal to |fpprec|."

However, I get the following output:

(%i1) fpprec : 20;
(%o1)                                 20
(%i2) fpprintprec : 10;
(%o2)                                 10
(%i3) 1+1b-2;
(%o3)                                1.0b0
(%i4) bfloat(101/100);
(%o4)                                1.0b0
(%i5) fpprintprec : 20;
(%o5)                                 20
(%i6) 1+1b-2;
(%o6)                               1.01b0
(%i7) bfloat(101/100);
(%o7)                               1.01b0


In other words, I only obtain reasonable output when fpprintprec = 
fpprec (or 0).

Thanks in advance for any explanation.

Thomas Kahl