Add a note explaining that changing sign is a special case of losing
bits for the << operator.
This commit is contained in:
parent
5962f34a59
commit
315e7ee922
|
@ -98,7 +98,8 @@ Incompatibilities
|
||||||
|
|
||||||
- Currently, x<<n can lose bits for short ints. This will be
|
- Currently, x<<n can lose bits for short ints. This will be
|
||||||
changed to return a long int containing all the shifted-out
|
changed to return a long int containing all the shifted-out
|
||||||
bits, if returning a short int would lose bits.
|
bits, if returning a short int would lose bits (where changing
|
||||||
|
sign is considered a special case of losing bits).
|
||||||
|
|
||||||
- Currently, hex and oct literals for short ints may specify
|
- Currently, hex and oct literals for short ints may specify
|
||||||
negative values; for example 0xffffffff == -1 on a 32-bit
|
negative values; for example 0xffffffff == -1 on a 32-bit
|
||||||
|
|
Loading…
Reference in New Issue