|
From: | Page, Bill |
Subject: | RE: [Axiom-developer] Left shifts of negative numbers |
Date: | Tue, 14 Oct 2003 20:00:42 -0400 |
Dylan, You wrote: >... > An alternative is > > shift(x,y) == -integer(ASH(-x,y)$LISP) > > which might be clearer. > I think shift(x,y) == sign(x)*integer(ASH(sign(x)*x,y)$Lisp should be ok for all cases? Bill Page.
[Prev in Thread] | Current Thread | [Next in Thread] |