老兄 看帮助阿
staticdo
uble abs(double a)
Returns the absolute value of ado
uble value.
static float abs(float a)
Returns the absolute value of a float value.
static int abs(int a)
Returns the absolute value of an int value.
static long abs(long a)
Returns the absolute value of a long value.
staticdo
uble acos(double a)
Returns the arc cosine of an angle, in the range of 0.0 through pi.
staticdo
uble asin(double a)
Returns the arc sine of an angle, in the range of -pi/2 through pi/2.
staticdo
uble atan(double a)
Returns the arc tangent of an angle, in the range of -pi/2 through pi/2.
staticdo
uble atan2(double y,do
uble x)
Converts rectangular coordinates (x, y) to polar (r, theta).
staticdo
uble ceil(double a)
Returns the smallest (closest to negative infinity)do
uble value that is not less than the argument and is equal to a mathematical integer.
staticdo
uble cos(double a)
Returns the trigonometric cosine of an angle.
staticdo
uble exp(double a)
Returns Euler's number e raised to the power of ado
uble value.
staticdo
uble floor(double a)
Returns the largest (closest to positive infinity)do
uble value that is not greater than the argument and is equal to a mathematical integer.
staticdo
uble IEEEremainder(double f1,do
uble f2)
Computes the remainder operation on two arguments as prescribed by the IEEE 754 standard.
staticdo
uble log(double a)
Returns the natural logarithm (base e) of ado
uble value.
staticdo
uble max(double a,do
uble b)
Returns the greater of twodo
uble values.
static float max(float a, float b)
Returns the greater of two float values.
static int max(int a, int b)
Returns the greater of two int values.
static long max(long a, long b)
Returns the greater of two long values.
staticdo
uble min(double a,do
uble b)
Returns the smaller of twodo
uble values.
static float min(float a, float b)
Returns the smaller of two float values.
static int min(int a, int b)
Returns the smaller of two int values.
static long min(long a, long b)
Returns the smaller of two long values.
staticdo
uble pow(double a,do
uble b)
Returns of value of the first argument raised to the power of the second argument.
staticdo
uble random()
Returns ado
uble value with a positive sign, greater than or equal to 0.0 and less than 1.0.
staticdo
uble rint(double a)
Returns thedo
uble value that is closest in value to the argument and is equal to a mathematical integer.
static long round(double a)
Returns the closest long to the argument.
static int round(float a)
Returns the closest int to the argument.
staticdo
uble sin(double a)
Returns the trigonometric sine of an angle.
staticdo
uble sqrt(double a)
Returns the correctly rounded positive square root of ado
uble value.
staticdo
uble tan(double a)
Returns the trigonometric tangent of an angle.
staticdo
uble toDegrees(double angrad)
Converts an angle measured in radians to an approximately equivalent angle measured in degrees.
staticdo
uble toRadians(double angdeg)
Converts an angle measured in degrees to an approximately equivalent angle measured in radians.