All Packages Class Hierarchy This Package Previous Next Index
Class jnt.util.Constants
java.lang.Object
|
+----jnt.util.Constants
- public class Constants
- extends Object
Mathematical constants and constants related to the arithmetic environment.
This class holds a variety of constants useful in mathematical software.
These constants are available as final class variables. The class need
not be instantiated in order to reference these variables.
- Version:
- 25 Sept 1997
- Author:
- Ronald F. Boisvert, NIST
-
e
- The mathematical constant e.
-
LargestMagnitude
- The largest positive floating point number.
-
LargestRelativeSpacing
- The largest relative spacing between floating point numbers on (0,1).
-
machineEpsilon
- The largest x such that x == x+1 to machine precision.
-
pi
- The mathematical constant pi.
-
SmallestPositiveMagnitude
- The smallest positive floating point number.
-
SmallestRelativeSpacing
- The smallest relative spacing between floating point numbers on (0,1).
-
sqrt2
- The mathematical constant the square root of 2.
-
Constants()
-
pi
public static final double pi
- The mathematical constant pi.
e
public static final double e
- The mathematical constant e.
sqrt2
public static final double sqrt2
- The mathematical constant the square root of 2.
SmallestPositiveMagnitude
public static final double SmallestPositiveMagnitude
- The smallest positive floating point number.
LargestMagnitude
public static final double LargestMagnitude
- The largest positive floating point number.
SmallestRelativeSpacing
public static final double SmallestRelativeSpacing
- The smallest relative spacing between floating point numbers on (0,1).
LargestRelativeSpacing
public static final double LargestRelativeSpacing
- The largest relative spacing between floating point numbers on (0,1).
machineEpsilon
public static final double machineEpsilon
- The largest x such that x == x+1 to machine precision.
Same as LargestRelativeSpacing.
Constants
public Constants()
All Packages Class Hierarchy This Package Previous Next Index