fp.log2
Returns the base-2 logarithm of the fixed point number.
Args
self
(T
) - The input fixed point
Panics
Panics if the input is negative.
Returns
A fixed point representing the binary logarithm of the input number.
Examples
Last updated