TruncationPolicy
interface and enums to define rounding
and
overflow
modes for arithmetic
operations that involve rounding or overflow.See: Description
Interface | Description |
---|---|
TruncationPolicy |
Policy defining how to handle truncation due to overflow or rounding.
|
Enum | Description |
---|---|
CheckedRounding |
Provides rounding constants implementing
TruncationPolicy for
OverflowMode.CHECKED . |
DecimalRounding |
Defines the same constants as
RoundingMode and implements the
functionality to actually perform such rounding. |
OverflowMode |
Mode to apply if arithmetic operations cause an overflow.
|
TruncatedPart |
Represents the truncated part for instance after division.
|
UncheckedRounding |
Provides rounding constants implementing
TruncationPolicy for OverflowMode.UNCHECKED . |
TruncationPolicy
interface and enums to define rounding
and
overflow
modes for arithmetic
operations that involve rounding or overflow.