[Cfp-interest 1223] Max printf NaN
Fred J. Tydeman
tydeman at tybor.com
Wed Nov 28 12:52:06 PST 2018
Add to 7.21 <stdio.h>, paragraph 3 [macros],
_MAX_PRINTF_NAN
which expands to an integer constant expression (suitable for use in
#if preprocessing directives) that is the maximum number of characters
output for any [-]NAN(n-char-sequence) [footnote].
[footnote]If the implementation only uses the [-]NAN style, then
_MAX_PRINTF_NAN would have the value 4.
---
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