|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectptolemy.math.Rounding
ptolemy.math.Rounding.RoundHalfFloor
The round to nearest and halves towards minus infinity rounding strategy
| Nested Class Summary |
| Nested classes inherited from class ptolemy.math.Rounding |
Rounding.General, Rounding.RoundCeiling, Rounding.RoundDown, Rounding.RoundFloor, Rounding.RoundHalfCeiling, Rounding.RoundHalfDown, Rounding.RoundHalfEven, Rounding.RoundHalfFloor, Rounding.RoundHalfUp, Rounding.RoundUnnecessary, Rounding.RoundUp, Rounding.Unknown |
| Field Summary |
| Fields inherited from class ptolemy.math.Rounding |
CEILING, CONVERGENT, DOWN, FLOOR, GENERAL, HALF_CEILING, HALF_DOWN, HALF_EVEN, HALF_FLOOR, HALF_UP, NEAREST, TRUNCATE, UNKNOWN, UNNECESSARY, UP |
| Method Summary | |
protected boolean |
_roundUp(java.math.BigInteger intPart,
double fracPart)
Return true if intPart should be incremented to represent the rounded value of intPart + fracPart, which is positive. |
| Methods inherited from class ptolemy.math.Rounding |
clone, equals, forName, getName, hashCode, quantize, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
protected boolean _roundUp(java.math.BigInteger intPart,
double fracPart)
Rounding
_roundUp in class Rounding
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||