Versions Compared

Key

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

...

When converting integers to floating-point values, it is important to be aware that there may be a loss of precision (see INT33-J. Be careful while casting Do not cast numeric types to wider floating-point types without range checking).

Noncompliant Code Example

...