Module dev.civl.abc

Interface StandardUnsignedIntegerType

All Superinterfaces:
ArithmeticType, IntegerType, ObjectType, SignedOrUnsignedIntegerType, Type, UnqualifiedObjectType, UnsignedIntegerType

public interface StandardUnsignedIntegerType extends UnsignedIntegerType
  • Method Details

    • getIntKind

    • getMinimumMaxValue

      BigInteger getMinimumMaxValue()
      The minimum greatest value of this type. Any conforming C implementation must have a greatest value of at least this number for the given kind of type.
      Returns:
      intVal minimum greatest value of this type
    • inMinimumRange

      boolean inMinimumRange(BigInteger intVal)
      Is 0 invalid input: '<'= intVal invalid input: '<'= getMinimumMaxValue() ?
      Parameters:
      intVal -
      Returns:
      true iff intVal is in the range [0,getMinimumMaxValue()]