mojave man page for nan

Query: nan

OS: mojave

Section: 3

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

NAN(3)							   BSD Library Functions Manual 						    NAN(3)

NAME
nan -- generate a quiet NaN
SYNOPSIS
#include <math.h> double nan(const char *tagp); long double nanl(const char *tagp); float nanf(const char *tagp);
DESCRIPTION
The nan() functions return a quiet NaN, whose trailing fraction field contains the result of converting tagp to an unsigned integer. If tagp is too large to be contained in the trailing fraction field of the NaN, then the least significant bits of the integer represented by tagp are used.
SPECIAL VALUES
If tagp contains any non-numeric characters, the function returns a NaN whos trailing fraction field is zero. If tagp is empty, the function returns a NaN whos trailing fraction field is zero.
STANDARDS
The nan() functions conform to ISO/IEC 9899:2011.
BSD
July 01, 2008 BSD
Related Man Pages
nanf(3) - linux
nanf(3) - debian
nanl(3) - debian
nanf(3m) - opensolaris
nanl(3m) - opensolaris
Similar Topics in the Unix Linux Community
MC ServiceGaurd
SVM metastat -- needs maintenance
Helpme !! ssh service in maintenance mode
Netra 440 maintenance light on
How to make smtp:sendmail online from maintenance mode?