20.11
java.lang.Math
THE PACKAGE JAVA.LANG
[This specification for the method
max
is scheduled for introduction in Java
version 1.1. In previous versions of Java,
max( 0.0f, 0.0f)
returns
0.0f
,
which is not correct.]
20.11.32
public static double max(double a, double b)
The result is the larger of the two arguments that is, the one closer to positive
infinity. If the arguments have the same value, the result is that same value.
Special cases:
If one argument is positive zero and the other is negative zero, the result is
positive zero.
If either argument is NaN, the result is NaN.
[This specification for the method
max
is scheduled for introduction in Java
version 1.1. In previous versions of Java,
max( 0.0d, 0.0d)
returns
0.0d
,
which is not correct.].
In mathematics he was greater
Than Tycho Brahe or Erra Pater
For he, by geometric scale,
Could take the size of pots of ale;
Resolve, by sines and tangents straight
Whether bread or butter wanted weight;
And wisely tell what hour o' the day
The clock does strike, by algebra.
Samuel Butler,
Hudibras
, Part I, canto i
530
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved