[−][src]Module boa::js::math
The global Math
object
Functions
_create | Create a new |
_random | Generate a random floating-point number between 0 and 1 |
abs | Get the absolute value of a number |
acos | Get the arccos of a number |
asin | Get the arcsine of a number |
atan | Get the arctangent of a number |
atan2 | Get the arctangent of a numbers |
cbrt | Get the cubic root of a number |
ceil | Get lowest integer above a number |
cos | Get the cosine of a number |
exp | Get the power to raise the natural logarithm to get the number |
floor | Get the highest integer below a number |
init | Initialise the |
log | Get the natural logarithm of a number |
max | Get the maximum of several numbers |
min | Get the minimum of several numbers |
pow | Raise a number to a power |
round | Round a number to the nearest integer |
sin | Get the sine of a number |
sqrt | Get the square root of a number |
tan | Get the tangent of a number |