This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.

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

Section: 29.7 [c.math] Status: CD1 Submitter: Daniel Krügler Opened: 2007-08-27 Last modified: 2016-01-28

Priority: Not Prioritized

View all other issues in [c.math].

View all issues with CD1 status.

Discussion:

In the listing of 29.7 [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.7 [c.math], table 108, section "Functions", add nanf and nanl just after the existing entry nan.