log2
Description:
public static Fixed log2 (
uint x)
Calculates base 2 logarithm.
This function is some 2.5 times faster on x86, and over 12 times faster on fpu-less arm, than using libc
log.
Parameters:
x |
value to calculate base 2 logarithm from
|
Returns: