Arguments: |
|
---|---|
Returns: | returns absolute value of argument. |
Arguments: |
|
---|---|
Returns: | angle in radians |
Arguments: |
|
---|---|
Returns: | angle in radians |
Arguments: |
|
---|
Arguments: |
|
---|---|
Returns: | cosine of that angle |
Arguments: |
|
---|
Overloads the ‘/’ operator.
Checks if lhs has a div function defined on it. If it does, then returns lhs.div(rhs). Otherwise, returns normal js division.
Arguments: |
|
---|---|
Returns: | returns e to the exponent |
Arguments: |
|
---|---|
Returns: | without any arguments, returns a string with default null values for both space identifier and presence identifier. With single arg, returns identifier with argument’s space id, but with a null presence identifier. With two args, returns full id as string with both space id and presence id. |
Return type: | string |
Arguments: |
|
---|
Overloads the ‘%’ operator.
Checks if lhs has a mod function defined on it. If it does, then returns lhs.mod(rhs). Otherwise, returns normal js modulo.
Arguments: |
|
---|
Overloads the ‘*’ operator.
Checks if lhs has a mul function defined on it. If it does, then returns lhs.mul(rhs). Otherwise, returns normal js *.
Arguments: |
|
---|
Overloads the ‘+’ operator.
Checks if lhs has a plus function defined on it. If it does, then calls lhs.plus(rhs). If it doesn’t, call javascript version of +
Arguments: |
|
---|---|
Returns: | returns base to the exponent |
Returns: | a random float from 0 to 1 |
---|
Arguments: |
|
---|---|
Returns: | sine of that angle |
Arguments: |
|
---|---|
Returns: | returns a float |
Arguments: |
|
---|
Overloads the ‘-‘ operator.
Checks if lhs has a sub function defined on it. If it does, then calls lhs.sub(rhs). If it doesn’t, javascript version of -.