722. Missing [c.math] functions nanf and nanl

Section: 29.9 [c.math] Status: CD1 Submitter: Daniel Krügler Opened: 2007-08-27 Last modified: 2016-02-10

Priority: Not Prioritized

View all other issues in [c.math].

View all issues with CD1 status.

Discussion:

In the listing of 29.9 [c.math], table 108: Header <cmath> synopsis I miss the following C99 functions (from 7.12.11.2):

float nanf(const char *tagp);
long double nanl(const char *tagp);

(Note: These functions cannot be overloaded and they are also not listed anywhere else)

Proposed resolution:

In 29.9 [c.math], table 108, section "Functions", add nanf and nanl just after the existing entry nan.