The java lang math min int a int b returns the smaller of two int values.
Java lang math min.
Unlike the numerical comparison.
The java lang math min is an inbuilt method in java which is used to return minimum or lowest value from the given two arguments.
If either value is nan then the result is nan.
See the java language specification for a discussion of floating point value sets.
If the exponent of the result is between double min exponent and double max exponent the answer is calculated exactly.
That is the result is the argument closer to positive infinity.
Unlike the numerical comparison operators.
If either value is nan then the result is nan.
The java lang math min float a float b returns the smaller of two float values.
If the arguments have the same value the result is that same value.
If the exponent of the result is between double min exponent and double max exponent the answer is calculated exactly.
Unlike the numerical comparison operators.
That is the result is the value closer to negative infinity.
The java lang math class contains methods for performing basic numeric operations such as the elementary exponential logarithm square root and trigonometric functions.
That is the result is the value closer to negative infinity.
If the arguments have the same value the result is that same value.
Public final class math extends object field.
If the exponent of the result would be larger than double max exponent an infinity is returned.
The arguments are taken in int float double and long.
The java lang math min function is an inbuilt function in java which returns minimum of two numbers.
See the java language specification for a discussion of floating point value sets.
Following is the declaration for java lang math class.
That is the result is the value closer to negative infinity.
The java lang math min double a double b returns the smaller of two double values.
If the exponent of the result would be larger than double max exponent an infinity is returned.
The java lang math max int a int b returns the greater of two int values.
Following are the fields for java lang math class.
If the arguments have the same value the result is that same value.