time-to-botec/js/node_modules/@stdlib/constants/float16/num-bytes/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.4 KiB

Number of Bytes

Size (in bytes) of a half-precision floating-point number.

Usage

var FLOAT16_NUM_BYTES = require( '@stdlib/constants/float16/num-bytes' );

FLOAT16_NUM_BYTES

Size (in bytes) of a half-precision floating-point number.

var bool = ( FLOAT16_NUM_BYTES === 2 );
// returns true

Examples

var FLOAT16_NUM_BYTES = require( '@stdlib/constants/float16/num-bytes' );

console.log( FLOAT16_NUM_BYTES );
// => 2