Functions
Properties
Returns the absolute value of the given value x.
Calculates the arc cosine of the value x. The returned value is an angle in the range from 0.0 to PI radians.
Calculates the inverse hyperbolic cosine of the value x. The returned value is positive y such that cosh(y) == x.
Calculates the arc sine of the value x. The returned value is an angle in the range from -PI/2 to PI/2 radians.
Calculates the inverse hyperbolic sine of the value x. The returned value is y such that sinh(y) == x.
Calculates the arc tangent of the value x. The returned value is an angle in the range from -PI/2 to PI/2 radians.
Returns the angle theta of the polar coordinates (r, theta) that correspond to the rectangular coordinates (x, y) by calculating the arc tangent of the value y / x; the returned value is an angle in the range from -PI to PI radians.
Calculates the inverse hyperbolic tangent of the value x. The returned value is y such that tanh(y) == x.
Rounds the given value x to an integer towards positive infinity. Returns the smallest double value that is greater than or equal to the given value x and is a mathematical integer.
Calculates the cosine of the angle x given in radians.
Calculates the hyperbolic cosine of the value x.
Calculates Euler's number e raised to the power of the value x.
Calculates exp(x) - 1. This function can be implemented to produce more precise result for x near zero.
Rounds the given value x to an integer towards negative infinity. Returns the largest double value that is smaller than or equal to the given value x and is a mathematical integer.
Calculates sqrt(x^2 + y^2) without intermediate overflow or underflow.
Calculates the natural logarithm (base E) of the value x.
Calculates ln(x + 1). This function can be implemented to produce more precise result for x near zero.
Calculates the logarithm of the value x to the given base.
Calculates the common logarithm (base 10) of the value x.
Calculates the binary logarithm (base 2) of the value x.
Returns the greater of two values.
Returns the smaller of two values.
Returns the Double value nearest to the value x in direction of negative infinity.
Returns the Double value nearest to the value x in direction from this value towards the value to.
Returns the Double value nearest to the value x in direction of positive infinity.
Raises the value x to the power n.
Rounds the given value x towards the closest integer with ties rounded towards even integer.
Returns the sign of the given value x:
Calculates the sine of the angle x given in radians.
Calculates the hyperbolic sine of the value x.
Calculates the positive square root of the value x.
Calculates the tangent of the angle x given in radians.
Calculates the hyperbolic tangent of the value x.
Rounds the given value x to an integer towards zero. Returns the value x having its fractional part truncated.
Returns the ulp (unit in the last place) of the value x. An ulp is a positive distance between this value and the next nearest Double value larger in magnitude.
Returns the value x with the sign bit same as of the sign value.