[cfp-interest 3829] Annex H.13#4
Damian McGuckin
damianm at esi.com.au
Tue Mar 24 14:06:54 PDT 2026
Use of the macros carg, cimag, conj, cproj, or creal with any
argument of standard floating type, binary floating type, or
complex type invokes a complex function. Use of the macro with an
argument of a decimal floating type results in undefined behavior
Why does the C standard mandate a function be called? It seems overly
restrictive.
Also, I would prefer the second sentence say
The use of a macro with a decimal floating type argument is
undefined behavior,
OR
The use of a macro with an argument of decimal floating type is
undefined behavior,
because the currently might be confused with the concept of "decimal floating
type result".
Thanks - Damian
More information about the cfp-interest
mailing list