org.jikesrvm.runtime
Class MathConstants

java.lang.Object
  extended by org.jikesrvm.runtime.MathConstants

public class MathConstants
extends Object

Placeholder for constants that are accessed from generated code.


Field Summary
(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 Summary
MathConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

I2Dconstant

static final double I2Dconstant

IEEEmagic

static final double IEEEmagic

longOne

static final long longOne
See Also:
Constant Field Values

minusOne

static final float minusOne
See Also:
Constant Field Values

zero

static final float zero
See Also:
Constant Field Values

half

static final float half
See Also:
Constant Field Values

one

static final float one
See Also:
Constant Field Values

two

static final float two
See Also:
Constant Field Values

zeroD

static final double zeroD
See Also:
Constant Field Values

oneD

static final double oneD
See Also:
Constant Field Values

half32

static final float half32

two32

static final float two32

billionth

static final double billionth
See Also:
Constant Field Values

maxint

static final double maxint
largest double that can be rounded to an int

See Also:
Constant Field Values

maxlong

static final double maxlong
largest double that can be rounded to a long

See Also:
Constant Field Values

maxintF

static final float maxintF
largest float that can be rounded to an int (0x7FFFFFFF)


maxlongF

static final float maxlongF
largest float that can be rounded to a long (0x7FFFFFFFFFFFFFFF)


minint

static final double minint
smallest double that can be rounded to an int

See Also:
Constant Field Values
Constructor Detail

MathConstants

public MathConstants()