nan(3M)nan(3M)NAMEnan(), nanf(), nanl(), nanw(), nanq() - string to NaN conversion func‐
tions
SYNOPSIS
HP Integrity Server Only
DESCRIPTION
The function creates a quiet NaN from the specified string. If tagp
does not point to an n-char-sequence or an empty string, the call is
equivalent to
The ISO/IEC C99 standard specifies n-char-sequence syntax, but the
interpretation and extension of the syntax is implementation defined.
The n-char-sequence argument is ignored on HP-UX systems.
Integrity Server Only
is a version of it returns a result.
is a version of it returns a result.
is an version of it returns an result.
is equivalent to on HP-UX systems.
USAGE
To use these functions, compile either with the default option or with
the and options. To use compile with the option. Make sure your pro‐
gram includes and link in the math library by specifying on the com‐
piler or linker command line.
For more information, see the at:
RETURN VALUE
The function returns a quiet NaN.
These functions raise no exceptions.
ERRORS
No errors are defined.
SEE ALSOcopysign(3M), isnan(3M), nextafter(3M), math(5).
STANDARDS CONFORMANCE
: ISO/IEC C99 (including Annex F, "IEC 60559 floating-point arith‐
metic")
nan(3M)