time-to-botec/squiggle/node_modules/@stdlib/constants/float32/precision/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

Precision

Effective number of bits in the significand of a single-precision floating-point number.

Usage

var FLOAT32_PRECISION = require( '@stdlib/constants/float32/precision' );

FLOAT32_PRECISION

Effective number of bits in the significand of a single-precision floating-point number.

var bool = ( FLOAT32_PRECISION === 24 ); // including implicit bit
// returns true

Examples

var FLOAT32_PRECISION = require( '@stdlib/constants/float32/precision' );

console.log( FLOAT32_PRECISION );
// => 24