Versions Compared

Key

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

...

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

Noncompliant Code Example (float to int)

...