|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmpjbuf.CustomMath
public class CustomMath
A class that helps calculate natural log
| Constructor Summary | |
|---|---|
CustomMath()
|
|
| Method Summary | |
|---|---|
static int |
widthInBits(int n)
Calculate how many bits wide a number is, i.e. |
static int |
widthInBits1(int n)
natural log method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomMath()
| Method Detail |
|---|
public static int widthInBits1(int n)
public static final int widthInBits(int n)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||