Class BitVecNum

All Implemented Interfaces:
Comparable<AST>

public class BitVecNum extends BitVecExpr
Bit-vector numerals
  • Method Details

    • getInt

      public int getInt()
      Retrieve the int value.
      Throws:
      Z3Exception
    • getLong

      public long getLong()
      Retrieve the 64-bit int value.
      Throws:
      Z3Exception
    • getBigInteger

      public BigInteger getBigInteger()
      Retrieve the BigInteger value.
    • toString

      public String toString()
      Returns a decimal string representation of the numeral.
      Overrides:
      toString in class Expr<BitVecSort>
    • toBinaryString

      public String toBinaryString()
      Returns a binary string representation of the numeral.