|
||
---|---|---|
.. | ||
docs | ||
lib | ||
package.json | ||
README.md |
Positive Infinity
Single-precision floating-point positive infinity.
Usage
var FLOAT32_PINF = require( '@stdlib/constants/float32/pinf' );
FLOAT32_PINF
Single-precision floating-point positive infinity.
// FLOAT32_PINF is implicitly promoted to a double-precision floating-point number...
var bool = ( FLOAT32_PINF === Infinity );
// returns true
Examples
var FLOAT32_PINF = require( '@stdlib/constants/float32/pinf' );
console.log( FLOAT32_PINF );
// => +Infinity