org.znerd.math
Interface RoundingModes

All Known Implementing Classes:
RealNumber

public interface RoundingModes

Set of standard rounding modes.

Version:
$Revision: 1.1 $ $Date: 2002/06/12 19:49:43 $
Author:
Ernst de Haan (znerd@FreeBSD.org)

Field Summary
static RoundingMode ROUND_CEILING
          Rounding mode that rounds towards positive infinity.
static RoundingMode ROUND_DOWN
          Rounding mode that rounds towards 0.
static RoundingMode ROUND_FLOOR
          Rounding mode that rounds towards negative infinity.
static RoundingMode ROUND_UP
          Rounding mode that rounds away from 0.
 

Field Detail

ROUND_CEILING

public static final RoundingMode ROUND_CEILING
Rounding mode that rounds towards positive infinity.

ROUND_FLOOR

public static final RoundingMode ROUND_FLOOR
Rounding mode that rounds towards negative infinity.

ROUND_DOWN

public static final RoundingMode ROUND_DOWN
Rounding mode that rounds towards 0.

ROUND_UP

public static final RoundingMode ROUND_UP
Rounding mode that rounds away from 0.


See http://jump-math.sourceforge.net/.