Java.Lang.Math: Method Members

The methods of Java.Lang.Math are listed below. For a list of all members, see the Math Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

static
Abs(double) : double
Returns the absolute value of the argument.
static
Abs(int) : int
Returns the absolute value of the argument.
static
Abs(long) : long
Returns the absolute value of the argument.
static
Abs(float) : float
Returns the absolute value of the argument.
static
Acos(double) : double
Returns the closest double approximation of the arc cosine of the argument within the range [0..pi].
static
Asin(double) : double
Returns the closest double approximation of the arc sine of the argument within the range [-pi/2..pi/2].
static
Atan(double) : double
Returns the closest double approximation of the arc tangent of the argument within the range [-pi/2..pi/2].
static
Atan2(double, double) : double
Returns the closest double approximation of the arc tangent of y/x within the range [-pi..pi].
static
Cbrt(double) : double
Returns the closest double approximation of the cube root of the argument.
static
Ceil(double) : double
Returns the double conversion of the most negative (closest to negative infinity) integer value greater than or equal to the argument.
static
CopySign(double, double) : double
Returns a double with the given magnitude and the sign of sign.
static
CopySign(float, float) : float
Returns a float with the given magnitude and the sign of sign.
static
Cos(double) : double
Returns the closest double approximation of the cosine of the argument.
static
Cosh(double) : double
Returns the closest double approximation of the hyperbolic cosine of the argument.
static
Exp(double) : double
Returns the closest double approximation of the raising "e" to the power of the argument.
static
Expm1(double) : double
Returns the closest double approximation of ed- 1.
static
Floor(double) : double
Returns the double conversion of the most positive (closest to positive infinity) integer value less than or equal to the argument.
static
GetExponent(double) : int
Returns the unbiased base-2 exponent of double d.
static
GetExponent(float) : int
Returns the unbiased base-2 exponent of float f.
static
Hypot(double, double) : double
Returns sqrt(x2+y2).
static
IEEEremainder(double, double) : double
Returns the remainder of dividing x by y using the IEEE 754 rules.
static
Log(double) : double
Returns the closest double approximation of the natural logarithm of the argument.
static
Log10(double) : double
Returns the closest double approximation of the base 10 logarithm of the argument.
static
Log1p(double) : double
Returns the closest double approximation of the natural logarithm of the sum of the argument and 1.
static
Max(double, double) : double
Returns the most positive (closest to positive infinity) of the two arguments.
static
Max(int, int) : int
Returns the most positive (closest to positive infinity) of the two arguments.
static
Max(long, long) : long
Returns the most positive (closest to positive infinity) of the two arguments.
static
Max(float, float) : float
Returns the most positive (closest to positive infinity) of the two arguments.
static
Min(double, double) : double
Returns the most negative (closest to negative infinity) of the two arguments.
static
Min(int, int) : int
Returns the most negative (closest to negative infinity) of the two arguments.
static
Min(long, long) : long
Returns the most negative (closest to negative infinity) of the two arguments.
static
Min(float, float) : float
Returns the most negative (closest to negative infinity) of the two arguments.
static
NextAfter(double, double) : double
Returns the next double after start in the given direction.
static
NextAfter(float, double) : float
Returns the next float after start in the given direction.
static
NextUp(double) : double
Returns the next double larger than d.
static
NextUp(float) : float
Returns the next float larger than f.
static
Pow(double, double) : double
Returns the closest double approximation of the result of raising x to the power of y.
static
Random() : double
Returns a pseudo-random double n, where n >= 0.0 && n .
static
Rint(double) : double
Returns the double conversion of the result of rounding the argument to an integer.
static
Round(double) : long
Returns the result of rounding the argument to an integer.
static
Round(float) : int
Returns the result of rounding the argument to an integer.
static
Scalb(double, int) : double
Returns d * 2^scaleFactor.
static
Scalb(float, int) : float
Returns d * 2^scaleFactor.
static
Signum(double) : double
Returns the signum function of the argument.
static
Signum(float) : float
Returns the signum function of the argument.
static
Sin(double) : double
Returns the closest double approximation of the sine of the argument.
static
Sinh(double) : double
Returns the closest double approximation of the hyperbolic sine of the argument.
static
Sqrt(double) : double
Returns the closest double approximation of the square root of the argument.
static
Tan(double) : double
Returns the closest double approximation of the tangent of the argument.
static
Tanh(double) : double
Returns the closest double approximation of the hyperbolic tangent of the argument.
static
ToDegrees(double) : double
Returns the measure in degrees of the supplied radian angle.
static
ToRadians(double) : double
Returns the measure in radians of the supplied degree angle.
static
Ulp(double) : double
Returns the argument's ulp (unit in the last place).
static
Ulp(float) : float
Returns the argument's ulp (unit in the last place).