Mail Archives: djgpp/1998/07/11/14:15:30
Paul Shirley wrote:
> The >> operator is clearly defined. For signed operands it does an
> arithmetic shift, unsigned ops get a zero extending shift. If you see
> anything different its a compiler bug.
That's not what ANSI says. With signed, negative operands, the behavior
is implementation-defined.
--
Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
Alcyone Systems / http://www.alcyone.com/max/
San Jose, California, United States / icbm:+37.20.07/-121.53.38
\
I put away my nine, fool / 'cause I'm colorblind.
/ Ice Cube
- Raw text -