Versions Compared

Key

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

...

The following sections examine specific operations that are susceptible to integer overflow. When operating on small integer types (smaller than int), integer conversion rules applypromotions are applied. The usual arithmetic conversions may also be applied to (implicitly) convert operands to equivalent types before arithmetic operations are performed. Make sure you understand implicit integer conversion rules before trying to implement secure arithmetic operations (see INT02-A. Understand integer conversion rules).

...