I can't reproduce this in Maxima 5.19.2 GCL 2.6.8 Windows Vista:
assume(equal(zi,0),equal(zf,0.0),equal(zb,0.0b0),equal(zr,rat(0)))$
zs: [0,0.0,rat(0),0.0b0,zi,zf,zb,zr]$
apply(matrix,makelist(makelist(is(equal(a,b)),a,zs),b,zs));
==> <matrix of all TRUE's>
What version are you running, and can you reproduce it in a fresh Maxima?
-s
On Thu, Jan 21, 2010 at 1:21 PM, Raymond Toy <toy.raymond at gmail.com> wrote:
> is(equal(0b0,0)) gives a Lisp error. Shouldn't this work?
>
> If not, what is the correct way to test for 0 (either float or bfloat
> zero)?
>
> Ray
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>