Geoffrey Broadwell writes:
How are the bitwise shifts defined on low level types? In particular,
for right shift, does high bit extension or zero fill occur? Does the
answer depend on whether the low level type is signed or not?
On the flip side, it seems more useful if we have both
On Tue, Feb 27, 2007 at 06:31:31PM +, Smylers wrote:
Geoffrey Broadwell writes:
How are the bitwise shifts defined on low level types? In particular,
for right shift, does high bit extension or zero fill occur? Does the
answer depend on whether the low level type is signed or not?
On Tue, Feb 27, 2007 at 06:31:31PM +, Smylers wrote:
Geoffrey Broadwell writes:
Perhaps having both + and ? operators? Since coerce to boolean and
then right shift is meaningless, ...
It's useless, rather than meaningless; you've neatly defined what the
meaning of that (useless)