3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 17:45:32 +00:00

Improved memory use of the Java API.

+ formatting
This commit is contained in:
Christoph M. Wintersteiger 2015-01-30 21:04:18 -06:00
parent 3b78509d0a
commit b8b57a8a26
60 changed files with 3149 additions and 2992 deletions

View file

@ -2169,8 +2169,8 @@ class JavaExample
FPNum y = (FPNum)ctx.mkNumeral("-10", s); /* -10 */
FPNum z = (FPNum)ctx.mkNumeral("-1.25p3", s); /* -1.25 * 2^3 = -1.25 * 8 = -10 */
System.out.println("x=" + x.toString() +
"; y=" + y.toString() +
"; z=" + z.toString());
"; y=" + y.toString() +
"; z=" + z.toString());
BoolExpr a = ctx.mkAnd(ctx.mkFPEq(x, y), ctx.mkFPEq(y, z));
check(ctx, ctx.mkNot(a), Status.UNSATISFIABLE);