3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-01 03:57:51 +00:00
Commit graph

123 commits

Author SHA1 Message Date
Christoph M. Wintersteiger
6f575689b1 Added injection of auxiliary lemmas for fp.isNaN, so that the value propagation can pick up these values and propagate them.
Fixes #96.
2015-05-21 19:02:09 +01:00
Daniel J. Hofmann
88f6e74a27 Wnewline-eof 2015-04-03 19:31:09 +02:00
Christoph M. Wintersteiger
5e60bcd920 FPA: fixes for the fpa_rewriter to enable model extraction and validation.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-06 16:53:31 +00:00
Christoph M. Wintersteiger
5344d6f3c0 various bugfixes and extensions for FPA
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-15 19:25:49 +00:00
Christoph M. Wintersteiger
0cedd32ea2 More renaming floats -> fpa
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 13:47:26 +00:00
Christoph M. Wintersteiger
5e5758bb25 More float -> fpa renaming
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 13:37:18 +00:00
Christoph M. Wintersteiger
dd17f3c7d6 Renaming floats, float, Floats, Float -> FPA, fpa
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 13:18:56 +00:00
Christoph M. Wintersteiger
7a5239ef70 QF_FP default tactic bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-31 17:30:45 +00:00
Christoph M. Wintersteiger
80c025b289 Improved default tactic for QF_FP
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-31 16:15:55 +00:00
Christoph M. Wintersteiger
21a847d299 More renamings for QF_FP/qffp/is-qffp
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-31 15:36:11 +00:00
Christoph M. Wintersteiger
208994e2dc Renamed the default tactics form QF_FPA and QF_FPABV to QF_FP and QF_FPBV, in anticipation of the logic name QF_FPA to mean floats+arrays.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-31 15:33:50 +00:00
Christoph M. Wintersteiger
d1cb2566e4 fpa2bv: adjustments for consistency
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 13:39:46 +00:00
Christoph M. Wintersteiger
b8c373bbce fpa2bv tactic bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-22 14:25:23 +00:00
Christoph M. Wintersteiger
657595818e FPA API: Renaming for consistency with final SMT standard.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-10 18:45:44 +00:00
Christoph M. Wintersteiger
62d4542f83 FPA API bug fix for RoundingMode values in models
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-11-11 13:05:48 +00:00
Christoph M. Wintersteiger
cb3e9c9644 Bugfix for FPA models 2014-10-25 16:58:16 +01:00
Nikolaj Bjorner
904ab4bf9e address race condition in cleanup methods
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-05 11:18:34 -07:00
Christoph M. Wintersteiger
fb4c07a2ea FPA refactoring in preparation for FPA support in the kernel.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-04-23 18:36:38 +01:00
Christoph M. Wintersteiger
52b54f395b FPA division bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-04-10 19:33:34 +01:00
Christoph M. Wintersteiger
4c8bbad8d6 FPA probe bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-02-25 18:16:28 +00:00
Christoph M. Wintersteiger
b968eb2b8c FPA probe bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-02-25 18:13:16 +00:00
Christoph M. Wintersteiger
efd0cdc740 bugfix for FPA 2014-02-24 14:01:51 +00:00
Christoph M. Wintersteiger
4a9f12dd34 bugfix for FPA 2014-02-24 13:57:15 +00:00
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
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
4f72e1d528 FPA: avoid compiler warnings.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-06-28 12:14:14 +01: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
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
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