diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-06-10 21:43:14 -0500 |
---|---|---|
committer | Andres Noetzli <andres.noetzli@gmail.com> | 2018-06-10 19:43:14 -0700 |
commit | b19c840d2bd756d272b8b44c122be809a8b1c633 (patch) | |
tree | affa45f00fe34c83ccdb80f0e85125ce3ea5657b /test/regress/regress1 | |
parent | f64824685c9342466249e1eabca53b5c04c0aed2 (diff) |
Fix equality conflicts reported by FP (#2064)
Diffstat (limited to 'test/regress/regress1')
-rw-r--r-- | test/regress/regress1/wrong-qfabvfp-smtcomp2018.smt2 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/regress/regress1/wrong-qfabvfp-smtcomp2018.smt2 b/test/regress/regress1/wrong-qfabvfp-smtcomp2018.smt2 new file mode 100644 index 000000000..3636b5795 --- /dev/null +++ b/test/regress/regress1/wrong-qfabvfp-smtcomp2018.smt2 @@ -0,0 +1,15 @@ +; REQUIRES: symfpu +; COMMAND-LINE: --decision=internal +; COMMAND-LINE: --decision=justification +; EXPECT: sat +(set-info :smt-lib-version 2.6) +(set-logic QF_BVFP) +(declare-fun a () (_ BitVec 64)) +(declare-fun b () (_ BitVec 64)) +(assert (fp.leq ((_ to_fp 11 53) a) ((_ to_fp 11 53) (_ bv4626322717216342016 64)))) +(assert (not (fp.isNaN ((_ to_fp 11 53) b)))) +(declare-fun k2 () (_ BitVec 64)) +(assert (or (= k2 b) (= k2 a))) +(assert +(or (fp.isNaN ((_ to_fp 11 53) k2)) (fp.gt ((_ to_fp 11 53) k2) ((_ to_fp 11 53) (_ bv4626322717216342016 64))) )) +(check-sat)
\ No newline at end of file |