Closed cjpatton closed 4 months ago
The caller is expected to compute it as floor(b * 2**num_frac_bits) where b is the real-valued L2-norm.
floor(b * 2**num_frac_bits)
b
@albertpl please take another look.
The caller is expected to compute it as
floor(b * 2**num_frac_bits)
whereb
is the real-valued L2-norm.