How to deal with r^(bfloat(2/3))/r^(2.0/3)



On Dec 12, 2007 11:27 AM, zycentre <zycentre-sub at yahoo.com.cn> wrote:
> (%i6) (bfloat(2/3))-(2.0/3);
> (%o6)                             -.19073b-6

In Maxima, "2.0" is a machine floating-point number, so the result in
this case may not be exact. You might want to try
bfloat(2/3)-(2.0b0/3).

However, with default settings, the error should be < 1.0e-16, and I
cannot reproduce your result with any settings. In fact, on my system
(Maxima 5.13.0 on GCL 2.6.8), this returns 0.0b0.

Could you please tell us the version of Maxima you are using?  Does
this happen in a fresh Maxima?  If not, what special settings are you
using?

            -s