A module containing functions for common mathematical operations.
Calculates the absolute value (distance from zero) of a value or expression
$x | The value to return the absolute value of |
Returns the arc cosine of an angle, in the range of 0.0 through pi.
$x | The input number |
Returns the arc sine of an angle, in the range of -pi/2 through pi/2.
$x | The input number |
Returns the arc tangent of an angle, in the range of -pi/2 through pi/2.
$x | The input number |
Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).
$y | The y coordinate |
$x | The x coordinate |
Returns the smallest (closest to negative infinity) value that is not less than the argument and is equal to a mathematical integer.
$x | The input number |
Returns the trigonometric cosine of an angle.
$x | The input number |
Converts angle in radians to degrees.
$radians | The radians |
Returns base of the natural logarithms, e.
Calculates e (the Euler Constant) raised to the power of a value or expression
$x | The input number |
Returns the largest (closest to positive infinity) value that is not greater than the argument and is equal to a mathematical integer.
$x | The input number |
Returns the natural logarithm (base e) of a number.
$x | The input number |
Returns the value of pi.
Returns the value of $value raised to the power of $power.
$value | The value |
$power | The power to raise the value to |
Converts angle in degrees to radians.
$degrees | The degrees |
Returns a value greater than or equal to 0.0 and less than 1.0.
Returns the double value that is closest to a integer.
$x | The input number |
Returns the trigonometric sine of an angle.
$x | The input number |
Returns the correctly rounded positive square root of a number.
$x | The input number |
Returns the tangent of the number passed as an argument in radians.
$radians | The radians |