exit 1
fi
-commit="1273dc9379b36af1461fe04aa453db82408006cf"
+commit="8fbe139bf0071cbe0758d2f6690a546c69ff0053"
mkdir $wdir
cd $wdir
regress0/fp/abs-unsound2.smt2
regress0/fp/down-cast-RNA.smt2
regress0/fp/ext-rew-test.smt2
+ regress0/fp/rti_3_5_bug.smt2
+ regress0/fp/rti_3_5_bug_report.smt2
regress0/fp/simple.smt2
regress0/fp/wrong-model.smt2
regress0/fuzz_1.smt
--- /dev/null
+; REQUIRES: symfpu\r
+; COMMAND-LINE: --fp-exp\r
+; EXPECT: unsat\r
+\r
+(set-logic QF_FP)\r
+(set-info :source |Written by Martin for issue #2932|)\r
+(set-info :smt-lib-version 2.5)\r
+(set-info :category crafted)\r
+(set-info :status unsat)\r
+\r
+(declare-fun x () (_ FloatingPoint 3 5))\r
+(assert (fp.isPositive x))\r
+\r
+(declare-fun xx () (_ FloatingPoint 3 5))\r
+(assert (= xx (fp.roundToIntegral RNE x)))\r
+\r
+(assert (not (= x xx)))\r
+\r
+(declare-fun xxx () (_ FloatingPoint 3 5))\r
+(assert (= xxx (fp.roundToIntegral RNE xx)))\r
+\r
+(assert (not (= xx xxx)))\r
+\r
+(check-sat)\r
+(exit)\r
--- /dev/null
+; REQUIRES: symfpu\r
+; COMMAND-LINE: --fp-exp\r
+; EXPECT: unsat\r
+\r
+(set-logic FP)\r
+(set-info :source |Written by Mathias Preiner for issue #2932|)\r
+(set-info :smt-lib-version 2.5)\r
+(set-info :category crafted)\r
+(set-info :status unsat)\r
+\r
+(define-sort FP () (_ FloatingPoint 3 5))\r
+(declare-const t FP)\r
+(assert\r
+ (distinct\r
+ (= t (fp.roundToIntegral RNA t)) \r
+ (exists ((x FP)) (= (fp.roundToIntegral RNA x) t)) \r
+ )\r
+)\r
+(check-sat)\r
+(exit)\r