[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 22:23:20 -0400 |
Dylan, Tim;
Now Tim has scared me too! <grin>
I am in favour of just changing the use of shift
in float.spad.
Cheers,
Bill.
> -----Original Message-----
> From: address@hidden [mailto:address@hidden
> Sent: Tuesday, October 14, 2003 10:15 PM
> To: root
> Cc: address@hidden; address@hidden
> Subject: Re: [Axiom-developer] algebra cycles again (was:
> Left shifts of
> negative numbers)
>
>
> On Tue, Oct 14, 2003 at 10:02:49PM -0400, root wrote:
> > 4 shift is HIGHLY optimized. if you change it you need to use lisp
> > disassemble to examine the code generated by the compiler. The
> > SINT domain is on the critical path for nearly everything.
>
> OK. It seems like maintaining the behaviour float.spad seems to be
> expecting is going to be slower than the current situation. How
> loudly will anyone object if we leave 'shift' so that it does what
> Common Lisp calls an 'arithmetic shift' (i.e., shift(-7,-1) = -4), and
> change the code in float.spad?
>
> Peace,
> Dylan
>