public class MathIgnoreNaN extends Object
Constructor and Description |
---|
MathIgnoreNaN() |
Modifier and Type | Method and Description |
---|---|
static double |
max(double a,
double b)
Returns the max of the two numbers, even if a or b is NaN
|
static double |
min(double a,
double b) |
public static double min(double a, double b)
public static double max(double a, double b)
a
- double, can be NaNb
- double, can be NaNCopyright © 2015. All rights reserved.