opensolaris man page for nanl

Query: nanl

OS: opensolaris

Section: 3m

Links: opensolaris man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

nan(3M) 						  Mathematical Library Functions						   nan(3M)

NAME
nan, nanf, nanl - return quiet NaN
SYNOPSIS
c99 [ flag... ] file... -lm [ library... ] #include <math.h> double nan(const char *tagp); float nanf(const char *tagp); long double nanl(const char *tagp);
DESCRIPTION
The function call nan("n-char-sequence") is equivalent to: strtod("NAN(n-char-sequence)", (char **) NULL); The function call nan(" ") is equivalent to: strtod("NAN()", (char **) NULL) If tagp does not point to an n-char sequence or an empty string, the function call is equivalent to: strtod("NAN", (char **) NULL) Function calls to nanf() and nanl() are equivalent to the corresponding function calls to strtof() and strtold(). See strtod(3C).
RETURN VALUES
These functions return a quiet NaN.
ERRORS
No errors are defined.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+
SEE ALSO
math.h(3HEAD), strtod(3C), attributes(5), standards(5) SunOS 5.11 12 Jul 2006 nan(3M)
Related Man Pages
nan(3) - linux
nanl(3) - linux
nanl(3) - debian
nan(3) - centos
nan(3m) - opensolaris
Similar Topics in the Unix Linux Community
How to use grep to check NAN value and nonexistense element in file
First character of variable
Strange value of the double type variable: -nan(0x8000000000000)