axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] Left shifts of negative numbers


From: Dylan Thurston
Subject: Re: [Axiom-developer] Left shifts of negative numbers
Date: Tue, 14 Oct 2003 21:01:44 -0400
User-agent: Mutt/1.5.4i

On Tue, Oct 14, 2003 at 08:00:42PM -0400, Page, Bill wrote:
> I think
> 
>   shift(x,y) == sign(x)*integer(ASH(sign(x)*x,y)$Lisp
> 
> should be ok for all cases?

Yes, but I think we should avoid multiplications here.  Remember that
the integers may be long...

Peace,
        Dylan

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]