Package org.joml
Class RoundingMode
java.lang.Object
org.joml.RoundingMode
Rounding modes.
 Author:
 Kai Burjack

Field Summary
Modifier and TypeFieldDescriptionstatic final int
Round towards positive infinity.static final int
Round towards negative infinity.static final int
Round towards the nearest neighbor.static final int
Round towards the nearest neighbor.static final int
Round towards the nearest neighbor.static final int
Discards the fractional part. 
Method Summary

Field Details

TRUNCATE
public static final int TRUNCATEDiscards the fractional part. See Also:

CEILING
public static final int CEILINGRound towards positive infinity. See Also:

FLOOR
public static final int FLOORRound towards negative infinity. See Also:

HALF_EVEN
public static final int HALF_EVENRound towards the nearest neighbor. If both neighbors are equidistant, round towards the even neighbor. See Also:

HALF_DOWN
public static final int HALF_DOWNRound towards the nearest neighbor. If both neighbors are equidistant, round down. See Also:

HALF_UP
public static final int HALF_UPRound towards the nearest neighbor. If both neighbors are equidistant, round up. See Also:
