1.5 KiB
1.5 KiB
Bias
The bias of a half-precision floating-point number's exponent.
Usage
var FLOAT16_EXPONENT_BIAS = require( '@stdlib/constants/float16/exponent-bias' );
FLOAT16_EXPONENT_BIAS
The bias of a half-precision floating-point number's exponent.
var bool = ( FLOAT16_EXPONENT_BIAS === 15 );
// returns true
Examples
var FLOAT16_EXPONENT_BIAS = require( '@stdlib/constants/float16/exponent-bias' );
console.log( FLOAT16_EXPONENT_BIAS );
// => 15