Submission Date: 2019-11-04
Document: WG14 N2446
Title:N2446: printf of NaN()
Reference Documents: N2301 N2320 N2380
There is no way for a user's application to know the maximum number of characters in the NaN(n-char-sequence) output by printf(); the standard imposes no upper limit.
Aside: This change does not address the issue of the user having no control over the style of the output of NaN versus NaN(n-char-sequence). I have not heard that users are asking for such a change to allow such control.
Add to §7.21.1 <stdio.h>, paragraph 3 [macros],