Debian Codegraph @

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

raw
1
2 ; DISABLE-TESTER: lfsc
3 ; COMMAND-LINE: --fp-exp
4 ; EXPECT: unsat
5
6 (set-logic QF_FP)
7 (set-info :source |Written by Martin for issue #2932|)
8 (set-info :smt-lib-version 2.6)
9 (set-info :category crafted)
10 (set-info :status unsat)
11
12 (declare-fun x () (_ FloatingPoint 3 5))
13 (assert (fp.isPositive x))
14
15 (declare-fun xx () (_ FloatingPoint 3 5))
16 (assert (= xx (fp.roundToIntegral RNE x)))
17
18 (assert (not (= x xx)))
19
20 (declare-fun xxx () (_ FloatingPoint 3 5))
21 (assert (= xxx (fp.roundToIntegral RNE xx)))
22
23 (assert (not (= xx xxx)))
24
25 (check-sat)
26 (exit)