public class MathConstants extends Object
Modifier and Type | Field and Description |
---|---|
(package private) static double |
billionth |
(package private) static float |
half |
(package private) static float |
half32 |
(package private) static double |
I2Dconstant |
(package private) static double |
IEEEmagic |
(package private) static long |
longOne |
(package private) static double |
maxint
largest double that can be rounded to an int
|
(package private) static float |
maxintF
largest float that can be rounded to an int (0x7FFFFFFF)
|
(package private) static double |
maxlong
largest double that can be rounded to a long
|
(package private) static float |
maxlongF
largest float that can be rounded to a long (0x7FFFFFFFFFFFFFFF)
|
(package private) static double |
minint
smallest double that can be rounded to an int
|
(package private) static float |
minusOne |
(package private) static float |
one |
(package private) static double |
oneD |
(package private) static float |
two |
(package private) static float |
two32 |
(package private) static float |
zero |
(package private) static double |
zeroD |
Constructor and Description |
---|
MathConstants() |
static final double I2Dconstant
static final double IEEEmagic
static final long longOne
static final float minusOne
static final float zero
static final float half
static final float one
static final float two
static final double zeroD
static final double oneD
static final float half32
static final float two32
static final double billionth
static final double maxint
static final double maxlong
static final float maxintF
static final float maxlongF
static final double minint
public MathConstants()