is(equal(0b0,0)) error



On 1/21/10 2:10 PM, Robert Dodier wrote:
> On Thu, Jan 21, 2010 at 11:21 AM, Raymond Toy <toy.raymond at gmail.com> wrote:
>
>   
>> is(equal(0b0,0)) gives a Lisp error.  Shouldn't this work?
>>     
> With Maxima built from CVS a few days ago, I get a Lisp error
> in the rat stuff (called from equal).
> rat(0b0) => (> EXTRA 1) must evaluate to a non-NIL value.
>
> I don't see that error in Maxima 5.20.1.
>   
Ah, ok.  I see now that I introduced this error when fixing an issue
with converting rationals to bigfloats.  The routine doesn't like it
when the  rational is 0/1. 

Fix coming soon....

Ray