@b3nh/binary-math
v1.0.0
Published
// Half-precision floating-point format // bfloat16
Downloads
1
Readme
// Half-precision floating-point format // bfloat16
const fp16 = '0011101010000000';
const a = bitToDecimal(fp16); console.log(a); const b = decimalToBit(a); console.log(b);