Standard set of mathematical operations.
Constants
The float value that is closer than any other to e,
the base of the natural logarithms.
The largest positive finite value the float can contain.
Maximum value that int can hold (2^63).
The smallest negative finite value the float can contain.
Minimum value that int can hold (-2^63).
Not a number, returned by float operations.
The float value of negative infinity.
The float value that is closer than any other to pi,
the ratio of the circumference of a circle to its diameter.
The float value of positive infinity.
Functions
Returns the absolute value of given number.
Returns the arc cosine of an angle, in the range of -pi/2 through pi/2.
Returns the arc sine of an angle, in the range of -pi/2 through pi/2.
Returns the arc tangent of an angle, in the range of -pi/2 through pi/2.
Converts rectangular coordinates (b, a) to polar (r, theta). This method computes
the phase theta by computing an arc tangent of a/b in the range of -pi to pi.
Returns the smallest (closest to negative infinity) float
value that is not less than the argument and is equal to a
mathematical integer.
Returns the trigonometric cosine of an angle.
| Parameters |
angle -
an angle, in radians
|
Returns the exponential number e (i.e., 2.718...) raised to the
power of a given value.
Returns the largest (closest to positive infinity) float value
that is not greater than the argument and is equal to
a mathematical integer.
Returns the natural logarithm (base e) of a float value.
Returns maximum value from parameters.
Returns minimum value from parameters.
Returns of value of the first argument raised to the power of
the second argument.
Returns pseudorandom integer between given range.
| Parameters |
lobound -
Low bound, inclusive
hibound -
High bound, inclusive
|
| Returns |
Pseudorandom number |
Returns the next pseudorandom, uniformly distributed float value between
0.0 and 1.0
Returns pseudorandom, Gaussian ("normally") distributed float
value with mean 0.0 and standard deviation 1.0.
Sets the seed of random number generator.
Returns the closest int to the argument.
Returns an integer indicating the sign of parameter.
-1 for negative, 1 for positive and 0 for zero.
Returns the trigonometric sine of an angle.
| Parameters |
angle -
an angle, in radians
|
Returns the square root of a given value.
Returns the trigonometric tangent of an angle.
| Parameters |
angle -
an angle, in radians
|
Converts an angle measured in radians to the equivalent angle
measured in degrees.
| Parameters |
angle -
an angle, in radians
|
Converts an angle measured in degrees to the equivalent angle
measured in radians.
| Parameters |
angle -
an angle, in degrees
|