[Cfp-interest 2375] Re: WG14 IEEE 754-C binding meeting minutes 2022/02/10

Fred J. Tydeman tydeman at tybor.com
Thu Feb 10 17:48:26 PST 2022


On Fri, 11 Feb 2022 00:48:11 +0100 Vincent Lefevre wrote:
>
>If the 'i' suffix is added, what about the imaginary infinities?
>Will a new macro be added or is multiplying by 'I' sufficient?

A problem is:  I is not required to be imaginary, it can be complex.
If it is complex, then INFINITY * I ends up being 
CMPLXF(NAN, INFINITY) 

If imaginary types are not supported, but the 'i' suffix is supported,
I do not know what  INFINITY * 1.fi  would end up being.

---
Fred J. Tydeman        Tydeman Consulting
tydeman at tybor.com      Testing, numerics, programming
+1 (702) 608-6093      Vice-chair of PL22.11 (ANSI "C")
Sample C99+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.



More information about the Cfp-interest mailing list