| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract X | |
| pack-priv final double | |
| pack-priv abstract double | roundToDoubleArbitrarily(X x)
Returns x rounded to either the greatest double less than or equal to the precise value of x, or the least double greater than or equal to the precise value of x. |
| pack-priv abstract int | |
| pack-priv abstract X |
| ToDoubleRounder | back to summary |
|---|---|
| pack-priv ToDoubleRounder() | |
| minus | back to summary |
|---|---|
| pack-priv abstract X minus(X a, X b) Returns a - b, guaranteed that both arguments are nonnegative. | |
| roundToDouble | back to summary |
|---|---|
| pack-priv final double roundToDouble(X x, RoundingMode mode) Rounds | |
| roundToDoubleArbitrarily | back to summary |
|---|---|
| pack-priv abstract double roundToDoubleArbitrarily(X x) Returns x rounded to either the greatest double less than or equal to the precise value of x, or the least double greater than or equal to the precise value of x. | |
| sign | back to summary |
|---|---|
| pack-priv abstract int sign(X x) Returns the sign of x: either -1, 0, or 1. | |
| toX | back to summary |
|---|---|
| pack-priv abstract X toX(double d, RoundingMode mode) Returns d's value as an X, rounded with the specified mode. | |