Versions Compared

Key

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

...

When converting integers to floating-point values, and vice versa, it is important to carry out proper range checks to avoid undefined behavior. (See FLP34-C. Ensure that floating-point conversions are within range of the new type.)

...

Bibliography

[Hatton 1995]Section 2.7.3, "Floating-Point Misbehavior"

...