Skip to content

nan, nanf : representation of infinity

#include <math.h>
double nan(void);
float nanf(void);
```### Description
nan and nanf return an IEEE NaN (Not a Number) in double and single precision arithmetic respectivly.
---
**Authoritative source**: BUSMASTER DITA help source `nan.dita`, compiled into `BUSMASTER.CHM` with the application.