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

Negative Infinity

Single-precision floating-point negative infinity.

Usage

var FLOAT32_NINF = require( '@stdlib/constants/float32/ninf' );

FLOAT32_NINF

Single-precision floating-point negative infinity.

// FLOAT32_NINF is implicitly promoted to a double-precision floating-point number...
var bool = ( FLOAT32_NINF === -Infinity );
// returns true

Examples

var FLOAT32_NINF = require( '@stdlib/constants/float32/ninf' );

console.log( FLOAT32_NINF );
// => -Infinity