fpprintprec



block([fpprintprec:10],string(1.001b0)) => "1.001b0"
etc.

On Tue, Oct 7, 2008 at 1:53 PM, Raymond Toy <raymond.toy at ericsson.com>wrote:

> ...> 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
>