[cfp-interest 3864] Re: What is a mathematical library fumctiom?

Damian McGuckin damianm at esi.com.au
Sat Apr 11 15:58:57 PDT 2026


On Sat, 11 Apr 2026, Jim Thomas wrote:

> Normally in F.10, ?functions? refers to <math.h> functions as indicated 
> by the subclause title.
> 
> F.10.1 #10 is intended to apply to <math.h> functions not listed in 
> Table 2: these functions have no requirements regarding ?inexact?, 
> unless stated otherwise. It is not intended to apply to all functions in 
> the standard libraries. Suggest: change ?library functions not listed in 
> table F.2? to ?<math.h> functions not listed in Table 2?.

Done.

> F.10.1 #11 is intended to apply to <math.h> functions not listed in 
> Table 2: Annex F does not restricted these functions from raising 
> spurious ?underflow?. (7.12.2 does imply some restriction, per footnote 
> 408.) This override of F.8.7 is not intended to apply to all functions 
> in the standard libraries. Suggest: change ?library functions not listed 
> in table F.2? to ?<math.h> functions not listed in Table 2?.

Done.

> F.10.1 #12 is just informational. It is intended to note for 
> completeness that <math.h> functions not listed in Table 2 do not raise 
> spurious ?invalid?, ?overflow?, or ?divide-by-zero?--as implied by 
> F.8.7. However, the statement is true all functions in the standard 
> libraries. Suggest: change ?library functions? to "functions in the 
> standard libraries, including <math.h>?.

Done.

Will upload after breakfast - Damian



More information about the cfp-interest mailing list