Overflow.Grow, Overflow.Minimize, Overflow.Modulo, Overflow.Saturate, Overflow.ToZero, Overflow.Trap
Modifier and Type | Method and Description |
---|---|
java.math.BigInteger |
minusInfinity(Quantization quant)
Return the value of minus infinity, or null if unrepresentable.
|
java.math.BigInteger |
plusInfinity(Quantization quant)
Return the value of plus infinity, or null if unrepresentable.
|
FixPoint |
quantize(java.math.BigInteger integerValue,
Precision precision)
Return a new FixPoint object based on the given BigInteger
value and Precision constraint.
|
_addOverflow, clone, equals, forName, getName, hashCode, isOutOfRange, isOverflow, isUnderflow, nameIterator, quantizeGrow, quantizeMinimum, quantizeModulo, quantizeSaturate, quantizeToZero, toString
public java.math.BigInteger minusInfinity(Quantization quant)
Overflow
The saturation value is returned for the saturate and to_zero strategies for which infinity is quantizable. Null is returned for other strategies.
minusInfinity
in class Overflow
quant
- The quantization specification.public java.math.BigInteger plusInfinity(Quantization quant)
Overflow
The saturation value is returned for the saturate and to_zero strategies for which infinity is quantizable. Null is returned for other strategies.
plusInfinity
in class Overflow
quant
- The quantization specification.public FixPoint quantize(java.math.BigInteger integerValue, Precision precision)
Overflow