public class Constants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static double |
LN10 |
static double |
LN10INV |
static double |
LN2 |
static double |
LN2INV |
static double |
LNPI
Natural log of PI.
|
static double |
LNSQRT2PI |
static double |
MACHEPS
Machine epsilon.
|
static double |
MAXLOG
Maximum logarithm value.
|
static int |
MAXPREC |
static double |
MINLOG
Minimum logarithm value.
|
static double |
SQRT2
Square root of 2.
|
static double |
SQRT2DIV2
( Square root of 2 ) / 2 .
|
static double |
SQRTPI
Square root of PI.
|
Modifier | Constructor and Description |
---|---|
protected |
Constants()
This class is non-instantiable but inheritable.
|
Modifier and Type | Method and Description |
---|---|
static double |
determineMachineEpsilon()
Determine machine epsilon.
|
static int |
determineMaximumPrecision()
Determine maximum double floating point precision.
|
public static final double MACHEPS
public static final int MAXPREC
public static final double MAXLOG
public static final double MINLOG
public static final double SQRT2
public static final double SQRT2DIV2
public static final double SQRTPI
public static final double LNPI
public static final double LN10
public static final double LN10INV
public static final double LN2
public static final double LN2INV
public static final double LNSQRT2PI
public static double determineMachineEpsilon()
public static int determineMaximumPrecision()