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.9 [c.math] Status: CD1 Submitter: Daniel Krügler Opened: 2007-08-27 Last modified: 2017-02-03

Priority: Not Prioritized

View all other issues in [c.math].

View all issues with CD1 status.


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

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.