time-to-botec/js/node_modules/@stdlib/constants/float16/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.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