Versions Compared

Key

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

...

Discarding the fractional part of the remainder is often called "truncation toward zero."

The C99 definition of the % operator implies the following behavior:

...