#include <math.h>float nanf(const char *content);double nan(const char *content); long double nanl(const char *content);

nan( ), nanf( ), and nanl( ) were defined by C99.

The nan( ) family of functions returns a value that is not a number and that contains the string pointed to by content.

A related function is isnan( ).

C(s)C++ Programmer's Reference
C Programming on the IBM PC (C Programmers Reference Guide Series)
ISBN: 0673462897
EAN: 2147483647
Year: 2002
Pages: 539 © 2008-2017.
If you may any questions please contact us: