[Cfp-interest 1234] Re: Max printf NaN
Jim Thomas
jaswthomas at sbcglobal.net
Wed Jan 23 09:48:27 PST 2019
> On Nov 28, 2018, at 12:52 PM, Fred J. Tydeman <tydeman at tybor.com> wrote:
>
> 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].
I think this needs to refer to output by the fprintf and fwfprintf family. (Not sure if the reference to fwfprintf is needed or inferable.)
>
> [footnote]If the implementation only uses the [-]NAN style, then
> _MAX_PRINTF_NAN would have the value 4.
This needs to be in the main text, not just a footnote. The main text as is covers just the [-]NAN(n-char-sequence) form.
Jim
>
>
> ---
> 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.
>
> _______________________________________________
> Cfp-interest mailing list
> Cfp-interest at oakapple.net
> http://mailman.oakapple.net/mailman/listinfo/cfp-interest
More information about the Cfp-interest
mailing list