| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | Returns: smallest power of two numberreference number value)Returns the smallest power of two number that is greater than or equal to |
| public static int | divideRoundingUp(int numerator, int denominator)
Returns the result of dividing a positive |
| MathHelper | back to summary |
|---|---|
| private MathHelper() | |
| ceilingPowerOfTwo | back to summary |
|---|---|
| public static int ceilingPowerOfTwo(int value) Returns the smallest power of two number that is greater than or equal to
| |
| divideRoundingUp | back to summary |
|---|---|
| public static int divideRoundingUp(int numerator, int denominator) Returns the result of dividing a positive For example dividing 5 by 2 ist 2.5, which (when rounded up) gives a result of 3. | |