[Cfp-interest 2120] FP_NAN, ...

Fred J. Tydeman tydeman at tybor.com
Tue Aug 24 21:33:28 PDT 2021


Suppose an implementation (such as IBM S/360 hex FP) which has no support
for any of:  NaN, infinity, or subnormal numbers.  Should it be required to define:
FP_NAN
FP_INFINITE
FP_SUBNORMAL
Perhaps those macros should be defined "if and only if supported".


---
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