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

Method mkBVAdd

src/api/java/Context.java:1284–1290  ·  view source on GitHub ↗

Two's complement addition. Remarks: The arguments must have the same bit-vector sort.

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

Source from the content-addressed store, hash-verified

1282 * bit-vector sort.
1283 **/
1284 public BitVecExpr mkBVAdd(Expr<BitVecSort> t1, Expr<BitVecSort> t2)
1285 {
1286 checkContextMatch(t1);
1287 checkContextMatch(t2);
1288 return new BitVecExpr(this, Native.mkBvadd(nCtx(),
1289 t1.getNativeObject(), t2.getNativeObject()));
1290 }
1291
1292 /**
1293 * Two's complement subtraction.

Callers 2

findSmallModelExampleMethod · 0.80
findSmallModelExampleMethod · 0.80

Calls 3

checkContextMatchMethod · 0.95
nCtxMethod · 0.95
getNativeObjectMethod · 0.80

Tested by

no test coverage detected