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: Page, Bill
Subject: RE: [Axiom-developer] Left shifts of negative numbers
Date: Tue, 14 Oct 2003 21:09:50 -0400

Does

  shift(x,y) == -integer(ASH(-x,y)$Lisp

involve two (potential long) integer multiplications?
I.e. -1*integer(ASH(-1*x,y)$Lisp


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





reply via email to

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