public class MathUtils extends Object
| Constructor and Description |
|---|
MathUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
nearlyEqual(double a,
double b) |
static boolean |
nearlyEqual(double a,
double b,
double epsilon) |
static boolean |
nearlyEqual(float a,
float b) |
static boolean |
nearlyEqual(float a,
float b,
float epsilon) |
static double |
relativeEpsilon(double a,
double b) |
static float |
relativeEpsilon(float a,
float b) |
public static boolean nearlyEqual(double a,
double b)
public static boolean nearlyEqual(double a,
double b,
double epsilon)
public static boolean nearlyEqual(float a,
float b)
public static boolean nearlyEqual(float a,
float b,
float epsilon)
public static double relativeEpsilon(double a,
double b)
public static float relativeEpsilon(float a,
float b)
Copyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.