The MathUtils class provides additional mathematics methods.
| Name | Type | Description | Parameters |
|---|---|---|---|
| log | double | Returns the natural logarithm (base newBase) of a double value. |
double value - a value double newBase - a base |
| ceiling | double | Returns the smallest (closest to negative infinity) double value that is greater than or equal to the argument and is equal to a mathematical integer. |
double value - A double value. |
| f64_s32 | int | Converts the double value to int. | double doubleValue - The double value. |