1.5 KiB
1.5 KiB
Positive Infinity
Half-precision floating-point positive infinity.
Usage
var FLOAT16_PINF = require( '@stdlib/constants/float16/pinf' );
FLOAT16_PINF
Half-precision floating-point positive infinity.
// FLOAT16_PINF is implicitly promoted to a double-precision floating-point number...
var bool = ( FLOAT16_PINF === Infinity );
// returns true
Examples
var FLOAT16_PINF = require( '@stdlib/constants/float16/pinf' );
console.log( FLOAT16_PINF );
// => +Infinity