Method Signature | Description | Parameters | Example |
---|---|---|---|
| Returns a value representing the absolute value of the Double passed as an argument. | Double value - Value against which the absolute value will be computed. |
|
| Returns a value representing the result of computing the arc cosine of the Double passed as an argument. | Double value - Value against which arc cosine will be computed. |
|
| Returns a value representing the result of computing the arc sine of the Double passed as an argument. | Double value - Value against which arc sine will be computed. |
|
| Returns a value representing the result of computing the arc tangent of the Double passed as an argument. | Double value - Value against which the arc tangent will be computed. |
|
| Returns a value representing the smallest mathematical integer that is greater than or equal to the Double passed as an argument. | Double value - Value against which the mathematical ceiling will be computed. |
|
| Returns a value representing the result of computing the cosine of the Double passed as an argument. | Double value - Value against which cosine will be computed. |
|
| Returns a value representing the result of computing the hyperbolic cosine of the Double passed as an argument. | Double value - Value against which the hyperbolic cosine will be computed. |
|
| Returns a value representing the result of raising Euler's number to the power of the value of the Double passed as an argument. | Double value - Value representing the power to which Euler's number will be raised. |
|
| Returns a value representing the largest mathematical integer that is less than or equal to the Double passed as an argument. | Double value - Value against which the mathematical floor will be computed. |
|
| Returns a value representing the result of computing the natural logarithm of the Double passed as an argument. | Double value - Value against which logarithm will be computed. |
|
| Returns a value representing the result of computing the base 10 logarithm of the Double passed as an argument. | Double value - Value against which base 10 logarithm will be computed. |
|
| Returns the greater of the two Doubles passed as arguments. | Double valueOne - First value to compare. Double valueTwo - Second value to compare. |
|
| Returns the lesser of the two Doubles passed as arguments. | Double valueOne - First value to compare. Double valueTwo - Second value to compare. |
|
| Returns a value representing the result of raising the first Double passed as an argument to the power of the second argument. | Double valueOne - Value to raise to the power specified by the second argument. Double valueTwo - Value specifying the power to which the first argument will be raised. |
|
| Returns a random positive Double value greater than 0.0 and less than 1.0. | No method parameters. |
|
| Returns an Integer representing the result of rounding the Double passed as an argument to the nearest mathematical integer. | Double value - Value to round to the nearest integer. |
|
| Returns an Integer value representing the signum function of the Double passed as an argument. Returns 0 if the argument is zero, returns -1 if the argument is negative, and returns 1 if the argument is positive. | Double value - Value against which signum will be computed. |
|
| Returns a value representing the result of computing the sine of the Double passed as an argument. | Double value - Value against which sine will be computed. |
|
| Returns a value representing the result of computing the square root of the Double passed as an argument. | Double value - Value against which square root will be computed. |
|
| Returns a value representing the result of computing the tangent of the first Double passed as an argument. | Double value - Value against which tangent will be computed. |
|
| Returns the result of converting the Double passed as an argument measured in radians to a value measured in degrees. | Double value - Value to convert to degrees. |
|
| Returns the result of converting the Double passed as an argument measured in degrees to a value measured in radians. | Double value - Value to convert to radians.
|
|
Additional Math Methods
Method Signature | Description | Parameters | Example |
---|---|---|---|
| Returns the cube root of the Double passed as an argument. | Double value - Value against which the cube root will be calculated. |
|
| Computes the remainder, as prescribed by the IEEE 754 standard, of the Doubles passed as arguments. The first argument represents the dividend, and the second argument represents the divisor. | Double dividend - A double value that represents the dividend of a division operation. Double divisor - A double that represents the divisor of a division operation. |
|
| Returns a Double that is closest to the Double value passed as an argument and is also an Integer. | Double value - Value against which rint will be computed. |
|
| Returns the positive distance between the floating-point value of the Double passed as an argument and the Double value that is next largest in magnitude. | Double value -Value against which positive distance to a value of the next magnitude will be computed. |
|