Package ptolemy.math
Class Overflow.Trap
- java.lang.Object
-
- ptolemy.math.Overflow
-
- ptolemy.math.Overflow.Trap
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ptolemy.math.Overflow
Overflow.Grow, Overflow.Minimize, Overflow.Modulo, Overflow.Saturate, Overflow.ToZero, Overflow.Trap
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FixPoint
quantize(java.math.BigInteger integerValue, Precision precision)
Return a new FixPoint object based on the given BigInteger value and Precision constraint.-
Methods inherited from class ptolemy.math.Overflow
clone, equals, forName, getName, hashCode, isOutOfRange, isOverflow, isUnderflow, minusInfinity, nameIterator, plusInfinity, quantizeGrow, quantizeMinimum, quantizeModulo, quantizeSaturate, quantizeToZero, toString
-
-
-
-
Method Detail
-
quantize
public FixPoint quantize(java.math.BigInteger integerValue, Precision precision)
Description copied from class:Overflow
Return a new FixPoint object based on the given BigInteger value and Precision constraint. This method will return a valid FixPoint object that conforms to the given overflow strategy implemented by the extending class.
-
-