...
See FLP03-C. Detect and handle floating-point errors for more details on how to detect floating-point errors.
Denormalized Numbers
Certain A denormalized number is a nonzero number that does not use all of its precision bits (IEEE 754). They can be used to represent values that are closer to 0 than the smallest normal number (one that uses all of its precision bits). However, certain functions may produce range errors specifically when applied with a denormalized number. These functions are: asin()
, asinh()
, atan()
, atanh()
, and erf()
. When evaluated with a denormalized number, these functions can produce an inexact, denormalized value, which is an underflow error. Subclause 7.12.1, paragraph 6, of the C Standard [ISO/IEC 9899:2011] defines the following behavior for floating-point underflow:
...