mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 02:45:51 +00:00
FPA API: bugfixes and examples for .NET and Java
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
fa26e2423e
commit
0faf329054
5 changed files with 165 additions and 48 deletions
|
@ -1791,6 +1791,10 @@ public class Expr extends AST
|
|||
return new RatNum(ctx, obj);
|
||||
case Z3_BV_SORT:
|
||||
return new BitVecNum(ctx, obj);
|
||||
case Z3_FLOATING_POINT_SORT:
|
||||
return new FPNum(ctx, obj);
|
||||
case Z3_FLOATING_POINT_ROUNDING_MODE_SORT:
|
||||
return new FPRMNum(ctx, obj);
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
|
@ -1809,6 +1813,10 @@ public class Expr extends AST
|
|||
return new ArrayExpr(ctx, obj);
|
||||
case Z3_DATATYPE_SORT:
|
||||
return new DatatypeExpr(ctx, obj);
|
||||
case Z3_FLOATING_POINT_SORT:
|
||||
return new FPExpr(ctx, obj);
|
||||
case Z3_FLOATING_POINT_ROUNDING_MODE_SORT:
|
||||
return new FPRMExpr(ctx, obj);
|
||||
default: ;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue