![]() It returns the natural logarithm of a double value. It returns the value of the long argument, throwing an exception if the value overflows an int. It is used to return the negation of the argument, throwing an exception if the result overflows an int or long. It is used to return the argument decremented by one, throwing an exception if the result overflows an int or long. It returns the argument incremented by one, throwing an exception if the result overflows an int. It is used to return the product of the arguments, throwing an exception if the result overflows an int or long. It returns the difference of the arguments, throwing an exception if the result overflows an int. It is used to return the sum of its arguments, throwing an exception if the result overflows an int or long. It is used to calculate the remainder operation on two arguments as prescribed by the IEEE 754 standard and returns value. It is used to return the unbiased exponent used in the representation of a value. It returns the size of an ulp of the argument. ![]() It returns sqrt(x 2 +y 2) without intermediate overflow or underflow. It returns the double value that is closest to the given argument and equal to mathematical integer. It returns a double value with a positive sign, greater than or equal to 0.0 and less than 1.0. ![]() ![]() It is used to find the largest integer value that is less than or equal to the algebraic quotient. It is used to find the largest integer value which is less than or equal to the argument and is equal to the mathematical integer of a double value. It returns the floating-point value adjacent to d in the direction of negative infinity. It returns the floating-point value adjacent to d in the direction of positive infinity. It is used to return the floating-point number adjacent to the first argument in the direction of the second argument. It is used to find the Absolute value of first argument along with sign specified in second argument. It is used to find the smallest integer value that is greater than or equal to the argument or mathematical integer. It is used to find the sign of a given value. It returns the value of first argument raised to the power to second argument. It is used to return the cube root of a number. It is used to return the square root of a number. It is used to round of the decimal numbers to the nearest value. It is used to return the Smallest of two values. It will return the Absolute value of the given value. The various java math methods are as follows: Basic Math methods Method The class contains various methods for performing basic numeric operations such as the logarithm, cube root, and trigonometric functions etc. return the hyperbolic tangent value of a return the hyperbolic cosine value of a ("Tangent value of a is: " +Math.atan(a)) return the trigonometric arc tangent value of a ("Cosine value of a is: " +Math.acos(a)) return the trigonometric arc cosine value of a return the trigonometric arc sine of a ("Tangent value of a is: " +Math.tan(a)) return the trigonometric tangent value of a return the trigonometric cosine value of a
0 Comments
Leave a Reply. |