Class std.math.Math
Synopsis
public static class Math
This static class contains various math functions.
Fields
The value of pi (ratio between circle circumference and diameter).
The value of Euler's constant.
Not-a-number constant.
Positive infinity.
Constructors
Methods
Calculate the principle arc-cosine of the given input in radians.
Calculate the principle arc-sine of the given input in radians.
Calculate the principle arc tangent of the input in radians.
Returns the arc tangent in radians of y/x based on the signs of both values to determine the correct quadrant.
Returns the cosine of the specified angle (in radians).
Returns the hyperbolic cosine of the specified angle (in radians).
Returns the sine of the specified angle (in radians).
Returns the hyperbolic sine of the specified angle (in radians).
Returns the tangent of the specified angle (in radians).
Returns the hyperbolic tangent of the specified angle (in radians).
Returns x raised to the power y.
Returns e to the power x.
Returns the base-10 logarithm of x.
Returns the natural logarithm of x.
Returns the square root of x.
Returns the value of x rounded down to the nearest integer.
Returns the value of x rounded up to the nearest integer.
Returns the absolute value of x (x converted to a positive value).
Returns the absolute value of x (x converted to a positive value).