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:
parent
3b78509d0a
commit
b8b57a8a26
60 changed files with 3149 additions and 2992 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue