Test if a single-precision floating-point numeric value is NaN.
var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
Tests if a single-precision floating-point numeric
value is NaN
.
var bool = isnanf( NaN );
// returns true
var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
var bool = isnanf( NaN );
// returns true
bool = isnanf( 5.0 );
// returns false
@stdlib/math/base/assert/is-nan
: test if a double-precision floating-point numeric value is NaN.