Number of Bytes

Size (in bytes) of a 16-bit signed integer.

Usage

var INT16_NUM_BYTES = require( '@stdlib/constants/math/int16-num-bytes' );

INT16_NUM_BYTES

Size (in bytes) of a 16-bit signed integer.

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

Examples

var INT16_NUM_BYTES = require( '@stdlib/constants/math/int16-num-bytes' );

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