3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 09:35:32 +00:00
Commit graph

141 commits

Author SHA1 Message Date
Christoph M. Wintersteiger
e860c65567 bugfix for sign computation in floating-point FMA
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-02-13 19:33:51 +00:00
Christoph M. Wintersteiger
0e74362ecb Added support for the final draft of the FPA standard (and fpa2bv conversion).
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-01-24 15:36:23 +00:00
Nikolaj Bjorner
81f1f7690d fix bug in rational.is_int32, it recognized rationals; fix bug reported by Anvesh for integer arithmetic
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-12-31 15:59:56 -08:00
Christoph M. Wintersteiger
31495bb9d9 bugfix for float rounding to integral values for cases where ebits >= sbits
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-11-15 17:19:41 +00:00
Christoph M. Wintersteiger
c96f7b5a51 bugfixes for float to float conversion
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-11-14 20:13:37 +00:00
Christoph M. Wintersteiger
b77d408128 bugfix for FPA rounding when ebits is very small. 2013-11-14 19:11:19 +00:00
Christoph M. Wintersteiger
6a2f987fb7 optimizations for float to float conversions
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-11-14 16:56:13 +00:00
Christoph M. Wintersteiger
86f39cd4c1 Changed references to _DEBUG to Z3DEBUG.
(gcc does not define _DEBUG for debug builds.)

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-11-08 19:21:55 +00:00
Christoph M. Wintersteiger
412f912c46 bugfix for pb2bv
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-11-07 15:06:36 +00:00
Ken McMillan
a785a5a4b8 Merge branch 'unstable' into interp 2013-11-05 12:28:13 -08:00
Leonardo de Moura
8b10e13251 fix bug in factor_tactic
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-11-04 11:02:53 -08:00
Christoph M. Wintersteiger
2b627b0821 fixed parameters to disallow overwriting them with illegal combinations on the command line
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-10-21 17:28:21 +01:00
Ken McMillan
3a0947b3ba merged with unstable 2013-10-18 17:26:41 -07:00
Nikolaj Bjorner
9b34350646 test output predicates
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-10-13 06:25:26 -07:00
Christoph M. Wintersteiger
4be468d312 Reorganized the SLS code.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-09-19 16:18:23 +01:00
Christoph M. Wintersteiger
8a44766382 qfbv-sls tactic bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-09-18 13:47:20 +01:00
Nikolaj Bjorner
e4338f085b re-organization of muz
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-08-28 22:11:33 -07:00
Nikolaj Bjorner
9e61820125 re-organizing muz
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-08-28 21:49:53 -07:00
Christoph M. Wintersteiger
4f72e1d528 FPA: avoid compiler warnings.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-06-28 12:14:14 +01:00
Ken McMillan
ea127c8ab9 some confusion about proof generation 2013-06-27 12:24:18 -07:00
Christoph M. Wintersteiger
42b3a81ef6 FPA: precision bugfixes for FMA
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-06-27 16:08:25 +01:00
Christoph M. Wintersteiger
0d2a7f922c FPA: sqrt precision bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-06-26 18:16:25 +01:00
Christoph M. Wintersteiger
56b41a0065 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
+ FPA2BV sqrt fix

Conflicts:
	src/tactic/fpa/fpa2bv_converter.cpp

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-06-25 16:34:38 +01:00
Christoph M. Wintersteiger
74792eeec4 FPA: compilation bugfixes 2013-06-25 15:06:13 +01:00
Christoph M. Wintersteiger
127402c10b FPA: fpa2bv fma bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-06-24 16:33:09 +01:00
Christoph M. Wintersteiger
9581055f97 FPA: debug output disabled
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-06-24 13:30:36 +01:00
Christoph M. Wintersteiger
13206f2fe7 FPA: FMA bugfixes.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-06-24 13:29:04 +01:00
Christoph M. Wintersteiger
9489c9b08b Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2013-06-21 21:16:12 +01:00
Christoph M. Wintersteiger
0b6250253a FPA2BV: added sqrt function
(Currently, there are a few corner cases where it doesn't round correctly.)

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-06-21 21:16:03 +01:00
Leonardo de Moura
a60b53bfd8 Fix compilation errors/warnings when using GCC
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-06-20 17:52:20 -07:00
Christoph M. Wintersteiger
ecceb0accc FPA: debug output disabled.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-06-14 20:16:02 +01:00
Christoph M. Wintersteiger
92c1b25978 FPA: bugfix for float to float conversion (subnormal numbers).
Thanks to Gabriele Paganelli for reporting this bug!

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-06-14 20:14:00 +01:00
Christoph M. Wintersteiger
455618bb2b FPA: added is_nan
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-06-07 18:34:31 +01:00
Christoph M. Wintersteiger
d7639557d2 FPA: added rewriting and fpa2bv conversion rules for new operations.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-06-07 18:03:46 +01:00
Christoph M. Wintersteiger
724f2af8c7 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2013-06-07 17:34:38 +01:00
Leonardo de Moura
2b59f2ecc2 Fix issue https://z3.codeplex.com/workitem/37
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-06-06 18:29:29 -07:00
Christoph M. Wintersteiger
093fe945bc FPA: min/max/fma bugfixes + partial quantifier support
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-06-03 18:19:45 +01:00
Christoph M. Wintersteiger
7c32df93a4 SLS tactic: compilation fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-06-03 18:17:41 +01:00
Nuno Lopes
878d57d139 minor code simplification
Signed-off-by: Nuno Lopes <t-nclaud@microsoft.com>
2013-05-15 09:23:57 -07:00
Nuno Lopes
7fc93b94f5 remove unimplemented method
Signed-off-by: Nuno Lopes <t-nclaud@microsoft.com>
2013-05-14 08:54:04 -07:00
Christoph M. Wintersteiger
787a65be29 FPA: bugfix for QFPA -> QBV conversion.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-05-07 18:27:47 +01:00
Christoph M. Wintersteiger
b65adc10da FPA: bugfix for quantified FP -> quantified BV conversion.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-05-07 17:58:43 +01:00
Christoph M. Wintersteiger
121e83b6b7 FPA: bugfixes for UF in model converter for fpa2bv.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-05-03 17:54:30 +01:00
Christoph M. Wintersteiger
8f60a936d2 FPA: Added support for float-UF to BV-UF translation.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-05-03 15:57:42 +01:00
Christoph M. Wintersteiger
00d5dea9a5 FPA: added support for rewriting quantified floats to quantified bit-vectors.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-05-02 15:24:07 +01:00
Nikolaj Bjorner
83add2bd9b fix bugs reported by Filip Konecny <filip.konecny@epfl.ch> in PDR
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-04-25 13:39:11 -07:00
Nikolaj Bjorner
eead1bbc48 missing else
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-04-23 09:24:39 -07:00
Nikolaj Bjorner
e1d5f484f1 simplify result from tactics, remove unused features from difference logic solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-04-23 08:46:46 -07:00
Nuno Lopes
7ce88d4da9 fix a few compilation warnings
- remove unused variables and class fields
 - add support for gcc 4.5 & clang's __builtin_unreachable
 - fix 2 bugs related to strict aliasing
 - remove a few unused function parameters

Signed-off-by: Nuno Lopes <t-nclaud@microsoft.com>
2013-04-21 14:36:39 -07:00
Leonardo de Moura
8627f6f1d5 Remove dead code
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-04-08 18:02:28 -07:00