|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.kc7bfi.jflac.util.BitMath
public final class BitMath
Utility class for bit math.
| Constructor Summary | |
|---|---|
BitMath()
|
|
| Method Summary | |
|---|---|
static int |
ilog2(int v)
Compute ilog2(). |
static int |
silog2(int v)
Compute silog2(). |
static int |
silog2Wide(long v)
Compute silog2(). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BitMath()
| Method Detail |
|---|
public static int ilog2(int v)
v - The value
public static int silog2(int v)
v - The value
public static int silog2Wide(long v)
v - The value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||