Skip to content

Commit 508ff5c

Browse files
RoundingMode: Remove Kinds for specific rounding modes from FunctionDeclarationKind and treat them as atomic values instead
1 parent f920092 commit 508ff5c

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

src/org/sosy_lab/java_smt/api/FunctionDeclarationKind.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -252,21 +252,6 @@ public enum FunctionDeclarationKind {
252252
/** Equal over floating points. */
253253
FP_EQ,
254254

255-
/** Rounding over floating points. */
256-
FP_ROUND_EVEN,
257-
258-
/** Rounding over floating points. */
259-
FP_ROUND_AWAY,
260-
261-
/** Rounding over floating points. */
262-
FP_ROUND_POSITIVE,
263-
264-
/** Rounding over floating points. */
265-
FP_ROUND_NEGATIVE,
266-
267-
/** Rounding over floating points. */
268-
FP_ROUND_ZERO,
269-
270255
/** Rounding over floating points. */
271256
FP_ROUND_TO_INTEGRAL,
272257

src/org/sosy_lab/java_smt/solvers/z3/Z3FormulaCreator.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -799,16 +799,6 @@ private FunctionDeclarationKind getDeclarationKind(long f) {
799799
return FunctionDeclarationKind.FP_GT;
800800
case Z3_OP_FPA_EQ:
801801
return FunctionDeclarationKind.FP_EQ;
802-
case Z3_OP_FPA_RM_NEAREST_TIES_TO_EVEN:
803-
return FunctionDeclarationKind.FP_ROUND_EVEN;
804-
case Z3_OP_FPA_RM_NEAREST_TIES_TO_AWAY:
805-
return FunctionDeclarationKind.FP_ROUND_AWAY;
806-
case Z3_OP_FPA_RM_TOWARD_POSITIVE:
807-
return FunctionDeclarationKind.FP_ROUND_POSITIVE;
808-
case Z3_OP_FPA_RM_TOWARD_NEGATIVE:
809-
return FunctionDeclarationKind.FP_ROUND_NEGATIVE;
810-
case Z3_OP_FPA_RM_TOWARD_ZERO:
811-
return FunctionDeclarationKind.FP_ROUND_ZERO;
812802
case Z3_OP_FPA_ROUND_TO_INTEGRAL:
813803
return FunctionDeclarationKind.FP_ROUND_TO_INTEGRAL;
814804
case Z3_OP_FPA_TO_FP_UNSIGNED:

0 commit comments

Comments
 (0)