1.5 KiB
1.5 KiB
Precision
Effective number of bits in the significand of a half-precision floating-point number.
Usage
var FLOAT16_PRECISION = require( '@stdlib/constants/float16/precision' );
FLOAT16_PRECISION
Effective number of bits in the significand of a half-precision floating-point number.
var bool = ( FLOAT16_PRECISION === 11 ); // including implicit bit
// returns true
Examples
var FLOAT16_PRECISION = require( '@stdlib/constants/float16/precision' );
console.log( FLOAT16_PRECISION );
// => 11