[Top][All Lists]
[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 22:48:12 -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