Big float Round off errors



On Tue, 2008-05-06 at 08:27 -0700, Richard Fateman wrote:
> I ran into this bug..
> Maxima 5.14.0 http://maxima.sourceforge.net
> Using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (aka GCL)
> ..
> (%i2) rat(bfloat(0.1));
> `pquotient' by zero

It works for me in Ubuntu, with a more recent version:

Maxima 5.15.0cvs http://maxima.sourceforge.net
Using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (aka GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
...
(%i2) rat(bfloat(0.1));
`rat' replaced 1.0B-1 by 1/10 = 1.0B-1
(%o2) 1/10

Regards,
Jaime