Method | Description | |
---|---|---|
CeilLog2 ( uint x ) : int |
Ceil(Log2(x)).
|
|
Msb ( uint x ) : int |
Counts position of the most significant bit in int. Can also be used as Floor(Log2(x)).
|
|
Nlz ( uint x ) : int |
Returns number of leading zero bits in int.
|
public static CeilLog2 ( uint x ) : int | ||
x | uint | Int value. |
return | int |