...
When converting integers to floating point and vice versa, it is important to carry out proper range checks in order to avoid undefined behavior (see FLP34-C. Ensure that floating point conversions are within range of the new type).
...
| Wiki Markup |
|---|
\[[Hatton 95|AA. C References#Hatton 95]\] Section 2.7.3, "Floating-point misbehavior" \[[ISO/IEC 9899-:1999|AA. C References#ISO/IEC 9899-1999]\] Section 5.2.4.2.2, "Characteristics of floating types <float.h>" |
...