Files
alt-ergo/tests/float/test_float2.models.smt2
Stevendeo 0e3fc3687f feat: exporting alt-ergo FPA built-in primitives (#876)
* Exporing rounding mode to SMT

* Adding round as a non indexed primitive

* Indexed identifier

* Poetry

* Adding some tests

* Reverting Rounding Mode as index

* Not relying on input format

* Injecting AE type float rounding type into SMT rounding type

* Poetry

* Style

* Poetry

* More poetry

* Also translating on the native side

* Adding missing tests

* Rebase artifact

* Adding tests and some poetry
2023-10-30 16:42:22 +01:00

8 lines
158 B
Plaintext

(set-logic ALL)
(set-option :produce-models true)
(declare-const x Real)
(assert (> x 0.0))
(assert (= ((_ ae.round 1 2) RTZ 0.3) x))
(check-sat)
(get-model)