[cfp-interest 3880] Special Cases in F.10.1
Damian McGuckin
damianm at esi.com.au
Thu Apr 16 02:36:47 PDT 2026
There are two tightly related clauses in
Special cases for functions in <math.h> are covered directly or
indirectly by ISO/IEC 60559. The functions that ISO/IEC 60559
specifies directly are identified in F.3. The other functions in
<math.h> treat infinities, NaNs, signed zeros, subnormals, and
(provided the state of the FENV_ACCESS pragma is "on") the
floating-point status flags in a manner consistent with ISO/IEC
60559 operations.
The functions bound to operations in ISO/IEC 60559 (F.3) are fully
specified by ISO/IEC 60559, including rounding behaviors and
floating-point exceptions.
Basically, the functions defined in F.3 (not just Table F.3) are in
ISO/IEC 60559.They are in <math.h>. There are also other functions
in <math.h> which are not in F.3 which are not defined by ISO/IEC 60559
but should begave likewise.
Does this single paragraph capture everything said in the original two?
The functions in F.3 are bound to operations in ISO/IEC 60559.
Their rounding behaviors and handling of special cases, including
what (if any) floating-point exceptions are raised, are fully
specified by ISO/IEC 60559. Any <math.h> function not in F.3
treats infinities, NaNs, signed zeros, subnormals, any other
special cases, floating-point exceptions, and (provided the state
of the FENV_ACCESS pragma is "on") floating-point status flags in
a manner consistent with ISO/IEC 60559.
Comments please before the next meeting to save time.
Thanks - Damian
More information about the cfp-interest
mailing list