Negative Infinity

Half-precision floating-point negative infinity.

Usage

var FLOAT16_NINF = require( '@stdlib/constants/float16/ninf' );

FLOAT16_NINF

Half-precision floating-point negative infinity.

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

Examples

var FLOAT16_NINF = require( '@stdlib/constants/float16/ninf' );

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