Negative Infinity

Single-precision floating-point negative infinity.

Usage

var FLOAT32_NINF = require( '@stdlib/constants/float32/ninf' );

FLOAT32_NINF

Single-precision floating-point negative infinity.

// FLOAT32_NINF is implicitly promoted to a double-precision floating-point number...
var bool = ( FLOAT32_NINF === -Infinity );
// returns true

Examples

var FLOAT32_NINF = require( '@stdlib/constants/float32/ninf' );

console.log( FLOAT32_NINF );
// => -Infinity
Did you find this page helpful?