time-to-botec/squiggle/node_modules/@stdlib/math/base/assert/is-negative-zerof
..
docs
include/stdlib/math/base/assert
lib
src
binding.gyp
include.gypi
manifest.json
package.json
README.md

isNegativeZerof

Test if a single-precision floating-point numeric value is negative zero.

Usage

var isNegativeZerof = require( '@stdlib/math/base/assert/is-negative-zerof' );

isNegativeZerof( x )

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

Examples

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