Table of Contents
Previous Section Next Section

nan

#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( ).


Table of Contents
Previous Section Next Section