Test if a single-precision floating-point numeric value is negative zero.
var isNegativeZerof = require( '@stdlib/math/base/assert/is-negative-zerof' );
Tests if a single-precision floating-point numeric
value is negative zero.
var bool = isNegativeZerof( -0.0 );
// returns true
bool = isNegativeZerof( 0.0 );
// returns false
var isNegativeZerof = require( '@stdlib/math/base/assert/is-negative-zerof' );
var bool = isNegativeZerof( -0.0 );
// returns true
bool = isNegativeZerof( 0.0 );
// returns false
bool = isNegativeZerof( 5.0 );
// returns false
bool = isNegativeZerof( -1.0 );
// returns false
bool = isNegativeZerof( NaN );
// returns false
@stdlib/math/base/assert/is-negative-zero
: test if a double-precision floating-point numeric value is negative zero.@stdlib/math/base/assert/is-positive-zerof
: test if a single-precision floating-point numeric value is positive zero.