Debian Codegraph @

test/regress/cli/regress0/fp/issue9972.smt2

raw
1 ; EXPECT: sat
2 ; REQUIRES: no-assertions
3 ; This regression test failed with a check-model failure prior to #10589 without
4 ; assertions. With assertions, this fails with a spurious assertion failure in
5 ; SymFPU. We thus, for now, only test this for builds without assertions.
6 (set-logic QF_BVFP)
7 (set-option :check-models true)
8 (declare-const a Float64)
9 (declare-const b Float64)
10 (assert (= (_ bv0 32) ((_ fp.to_sbv 32) RTZ b)))
11 (assert (bvuge ((_ fp.to_sbv 32) RTZ a) (_ bv1 32)))
12 (check-sat)