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

Method mkBVSub

src/api/java/Context.java:1297–1303  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

1295 * bit-vector sort.
1296 **/
1297 public BitVecExpr mkBVSub(Expr<BitVecSort> t1, Expr<BitVecSort> t2)
1298 {
1299 checkContextMatch(t1);
1300 checkContextMatch(t2);
1301 return new BitVecExpr(this, Native.mkBvsub(nCtx(),
1302 t1.getNativeObject(), t2.getNativeObject()));
1303 }
1304
1305 /**
1306 * Two's complement multiplication.

Callers 4

bitvectorExample1Method · 0.80
bitvectorExample2Method · 0.80
bitvectorExample1Method · 0.80
bitvectorExample2Method · 0.80

Calls 3

checkContextMatchMethod · 0.95
nCtxMethod · 0.95
getNativeObjectMethod · 0.80

Tested by

no test coverage detected