1.0.0 • Published 3 years ago
@b3nh/binary-math v1.0.0
// Half-precision floating-point format // bfloat16
const fp16 = '0011101010000000';
const a = bitToDecimal(fp16); console.log(a); const b = decimalToBit(a); console.log(b);
1.0.0
3 years ago
// Half-precision floating-point format // bfloat16
const fp16 = '0011101010000000';
const a = bitToDecimal(fp16); console.log(a); const b = decimalToBit(a); console.log(b);
3 years ago