[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Axiom-developer] algebra cycles again (was: Left shifts of n egativ
From: |
Page, Bill |
Subject: |
RE: [Axiom-developer] algebra cycles again (was: Left shifts of n egative numbers) |
Date: |
Tue, 14 Oct 2003 23:47:32 -0400 |
On Tuesday, October 14, 2003 10:30 PM I wrote:
>
> I was especially mystified by the code in float.spad that
> defines:
>
> shift(x:%,n:I) == [x.mantissa,x.exponent+n]
>
On second (or is it third?) thought, this is not really
mysterious. The above definition of shift is for the
case where the first argument is a Float. This definition
is correct and not directly affected by the problem with
shift for negative integer arguments.
Cheers,
Bill Page.