diff options
author | Martin <martin.brain@cs.ox.ac.uk> | 2020-05-26 19:49:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 13:49:01 -0500 |
commit | d8b6767e4e5285fef3cf4450b9cba04431e40727 (patch) | |
tree | a752140ddb4ae5985aa5f34c1c24f479d4693977 /test/regress/regress0/fp | |
parent | 114a215e9b33effb361c4b000fb23085ce9f079a (diff) |
Fix an incorrect limit in conversion from real to float (#4418)
This error is a bit inexplicable but very very definitely wrong.
A test case from the original bug report is included.
Diffstat (limited to 'test/regress/regress0/fp')
-rw-r--r-- | test/regress/regress0/fp/issue3619.smt2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/regress/regress0/fp/issue3619.smt2 b/test/regress/regress0/fp/issue3619.smt2 new file mode 100644 index 000000000..9d6e0a36d --- /dev/null +++ b/test/regress/regress0/fp/issue3619.smt2 @@ -0,0 +1,7 @@ +; REQUIRES: symfpu +(set-logic QF_FPLRA) +(set-info :status sat) +(declare-fun a () (_ FloatingPoint 11 53)) +(assert (= (fp.to_real a) 0.0)) +(check-sat) + |