fpprintprec



Stavros Macrakis wrote:
> On Sun, Oct 5, 2008 at 5:10 PM, Thomas Kahl <kahl at math.uminho.pt
> <mailto:kahl at math.uminho.pt>> wrote:
> 
>     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?
> 
> 
> Thomas, thank you for your interest in Maxima!
> 
> Unfortunately, you are right, fpprintprec appears to have a serious bug
> where it omits the final digit of the output (and any preceding 0's):
> 
> fpprintprec:5;
> 
> 1.01b0 => 1.0b0
> 9.23b0 => 9.2b0
> 1.234b0 => 1.23b0
> 

I don't know how to write a test case for this bug.  Can someone help
with that?  I want to add a test case to our test suite.

Ray