1.5 KiB
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