nan man page on MacOSX

Man page or keyword search:  
man Server   23457 pages
apropos Keyword Search (all sections)
Output format
MacOSX logo
[printable version]

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
[top]

List of man pages available for MacOSX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net