Submission Date: 2019-05-08
Document: WG14 N2380
Title:N2380: printf of NaN()
Reference Documents: N2301 N2320
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],