Versions Compared

Key

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

...

Code Block
bgColor#ffcccc
int x = 50;
int y = x << 2;
yx += y + 1;

This example is noncompliant because the actual data has both bitwise and arithmetic operations performed on it, even though the operations are performed on different variables.

...

Related Guidelines

Bibliography

 

...

      Rule 03. : Numeric Types and Operations (NUM)