ptolemy.math
Class Overflow.Unknown

java.lang.Object
  extended byptolemy.math.Overflow
      extended byptolemy.math.Overflow.Unknown
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable
Enclosing class:
Overflow

public static class Overflow.Unknown
extends Overflow

The unknown overflow strategy at the bottom of the overflow lattice

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class ptolemy.math.Overflow
Overflow.General, Overflow.Grow, Overflow.Modulo, Overflow.Saturate, Overflow.ToZero, Overflow.Trap, Overflow.Unknown
 
Field Summary
 
Fields inherited from class ptolemy.math.Overflow
CLIP, GENERAL, GROW, MODULO, SATURATE, THROW, TO_ZERO, TRAP, UNKNOWN, WRAP
 
Method Summary
 java.math.BigInteger quantize(java.math.BigInteger integerValue, Quantization quant)
          Return the integerValue after applying the overflow constraints of quant.
 
Methods inherited from class ptolemy.math.Overflow
clone, equals, forName, getName, hashCode, minusInfinity, plusInfinity, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

quantize

public java.math.BigInteger quantize(java.math.BigInteger integerValue,
                                     Quantization quant)
Description copied from class: Overflow
Return the integerValue after applying the overflow constraints of quant.

Specified by:
quantize in class Overflow
Parameters:
integerValue - The unbounded integer value.
quant - The quantization constraints.
Returns:
The bounded integer value.