[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bitshift of int8, int16, etc?
From: |
John W. Eaton |
Subject: |
Re: bitshift of int8, int16, etc? |
Date: |
Wed, 27 Jun 2007 11:15:03 -0400 |
On 26-Jun-2007, David Bateman wrote:
| prints "254". This is closer to what we are actually implementing and
| makes sense in a strict arithmetic shift. Enforcing saturation will be
| harder, so I'm inclined at least till matlab does something one way or
| the other to just make it do a strict arithmetic shift on a twos
| complement representation independent of the compiler, which is what the
| patch I supplied does..
OK, please check in your latest version of this patch and the doc
changes for bitshift ops.
Thanks,
jwe
- Re: bitshift of int8, int16, etc?, (continued)
- Re: bitshift of int8, int16, etc?, Daniel J Sebald, 2007/06/25
- Re: bitshift of int8, int16, etc?, David Bateman, 2007/06/25
- Re: bitshift of int8, int16, etc?, Daniel J Sebald, 2007/06/25
- Re: bitshift of int8, int16, etc?, Søren Hauberg, 2007/06/25
- Re: bitshift of int8, int16, etc?, John W. Eaton, 2007/06/25
- Re: bitshift of int8, int16, etc?, Daniel J Sebald, 2007/06/25
- Re: bitshift of int8, int16, etc?, John W. Eaton, 2007/06/25
- Re: bitshift of int8, int16, etc?, Daniel J Sebald, 2007/06/25
- Re: bitshift of int8, int16, etc?, John W. Eaton, 2007/06/25
- Re: bitshift of int8, int16, etc?, David Bateman, 2007/06/26
- Re: bitshift of int8, int16, etc?,
John W. Eaton <=