time-to-botec/squiggle/node_modules/@stdlib/constants/float16/exponent-bias/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

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