Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: "all values are within range"

...

This rule does not apply to demotions of floating-point types on implementations that support signed infinity, such as IEEE 754, as all numbers values are within range are representable.

Noncompliant Code Example (float to int)

...