KBv2IntExpr

Creates an integer from the bit-vector argument value.

If isSigned is false, then the bit-vector value is treated as unsigned. So the reuslt is non-negative and in the range [0..2^(n - 1)], where N are the number of bits in value.

If isSigned is true, then value is treated as a signed bit-vector.

Functions

Link copied to clipboard
open override fun accept(transformer: KTransformerBase): KExpr<KIntSort>
Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun internEquals(other: Any): Boolean

Any.equals analogue for interning purposes.

Link copied to clipboard
open override fun internHashCode(): Int

Any.hashCode analogue for interning purposes.

Link copied to clipboard
open override fun print(printer: ExpressionPrinter)
open override fun print(builder: StringBuilder)
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
open override val args: List<KExpr<KBvSort>>
Link copied to clipboard
Link copied to clipboard
open override val decl: KDecl<KIntSort>
Link copied to clipboard
Link copied to clipboard
open override val sort: KIntSort
Link copied to clipboard

Extensions

Link copied to clipboard
fun <T : KSort> KExpr<*>.asExpr(sort: T): KExpr<T>
Link copied to clipboard
Link copied to clipboard