MCPcopy Create free account
hub / github.com/Z3Prover/z3 / mkConcat

Method mkConcat

src/api/java/Context.java:1515–1521  ·  view source on GitHub ↗

Bit-vector concatenation. Remarks: The arguments must have a bit-vector sort. @return The result is a bit-vector of size n1+n2, where n1 (n2) is the size of t1 (t2).

(Expr<BitVecSort> t1, Expr<BitVecSort> t2)

Source from the content-addressed store, hash-verified

1513 *
1514 **/
1515 public BitVecExpr mkConcat(Expr<BitVecSort> t1, Expr<BitVecSort> t2)
1516 {
1517 checkContextMatch(t1);
1518 checkContextMatch(t2);
1519 return new BitVecExpr(this, Native.mkConcat(nCtx(),
1520 t1.getNativeObject(), t2.getNativeObject()));
1521 }
1522
1523 /**
1524 * Bit-vector extraction.

Callers 1

stringExampleMethod · 0.95

Calls 5

checkContextMatchMethod · 0.95
nCtxMethod · 0.95
createMethod · 0.95
getNativeObjectMethod · 0.80
arrayToNativeMethod · 0.80

Tested by

no test coverage detected