Math class in Java javalangMath is a library which holds the functions to calculate such values like sin cos log etc. Mathmax xy The Mathmax x y method can be used to find the highest value of x and y. Please let me know your views in the comments section below.
Double logValue Mathlognumber Mathlog2.
If the argument is NaN or less than zero then the result is NaN. Public class LogMethod public static void mainString args double a Mathlog1090 1510 - 2250 150. If the argument is positive infinity then the result is positive infinity. SystemoutprintlnLogarithmic Value of Positive Number.