Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Although many common implementations use a two's complement representation of signed integers, the C standard Standard declares such use as implementation-defined and allows all of the following representations:

...

Recommendation

Severity

Likelihood

Remediation Cost

Priority

Level

INT16-C

medium

unlikely

high

P2

L3

Related Guidelines

ISO/IEC 9899:2011 Section 6.2.6.2, "Integer types"

...

...