[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Some thoughts on integer exponentiation (and an implementation)
- From: Stefan Ginsberg <stefanginsberg@...>
- Date: Mon, 15 May 2017 08:58:49 +0200
> On 15 May 2017, at 01:13, Sean Conner <sean@conman.org> wrote:
>
> Shifting is just multiplication or division by two. At the CPU level,
> there is a distinction made between shifts (left (multiplication) which
> shifts in 0s and right (division) which shifts in the sign bit) and rotates
> (shifts the bits, rotating in the carry bit).
>
> -spc
What I really meant is that a shift operator which disallows shifting out (all) bits would be less-than-useful.