Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

nanl(3) OSS Library Calls Reference Manual
NAME
nanl - Returns a long double quiet NaN for specified string
LIBRARY
H-series and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZCREDLL
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zcredll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ycredll
SYNOPSIS
#include <math.h>
long double nanl(
const char *tagp);
PARAMETERS
tagp Specifies the string.
DESCRIPTION
The nan( ) function is a long double version of the nan( ) function; it returns a long double result.
The nanl( ) function returns a quiet NaN from the specified string. If tagp does not point to an n-
char-sequence or an empty string, nan( ) is equivalent to
strtold("NAN", (char **) NULL).
NOTES
This function is implemented only for the IEEE_float oating-point option. Applications using
this function cannot be compiled if the specified floating-point option is Tandem_float.
RETURN VALUES
The nanl( ) function returns a quiet NaN, with content indicated through tagp.
ERRORS
No errors are defined.
RELATED INFORMATION
Functions: nan(3), nanf(3), strtold(3).
Files: math(4).
STANDARDS CONFORMANCE
This function conforms to the ISO/IEC 9899:1999 standard.
This function conforms to the IEEE Std 1003.1, 2004 Edition.
54 Hewlett-Packard Company 527187-017