NAN

Single-precision floating-point NaN.

Usage

var FLOAT32_NAN = require( '@stdlib/constants/float32/nan' );

FLOAT32_NAN

Single-precision floating-point NaN.

var bool = ( FLOAT32_NAN !== FLOAT32_NAN );
// returns true

Examples

var FLOAT32_NAN = require( '@stdlib/constants/float32/nan' );

console.log( FLOAT32_NAN );
// => NaN

C APIs

Usage

#include "stdlib/constants/float32/nan.h"

STDLIB_CONSTANT_FLOAT32_NAN

Macro for single-precision floating-point NaN.

Did you find this page helpful?