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

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