time-to-botec/js/node_modules/@stdlib/constants/float32/pinf/README.md
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

1.4 KiB

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