24.3.8 Signed Integer Representation

The value of a signed integer is determined by taking the two’s complement of the integer.

Example

The following shows a variable, test, that is assigned the value -28 decimal.

signed char test = 0xE4;

Differences

All compilers have represented signed integers in the way described in this section.

Migration to the CCI

No action required.