1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
{{alias}}( x )
Returns an approximate binary logarithm (base two) of an unsigned 32-bit
integer `x`.
This function provides a performance boost when requiring only approximate
computations for integer arguments.
For high-precision applications, this function is never suitable.
Parameters
----------
x: uinteger
Input value.
Returns
-------
out: uinteger
Integer binary logarithm (base two).
Examples
--------
> var v = {{alias}}( 4 >>> 0 )
2
> v = {{alias}}( 8 >>> 0 )
3
> v = {{alias}}( 9 >>> 0 )
3
See Also
--------
|