3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-17 18:06:40 +00:00
Commit graph

56 commits

Author SHA1 Message Date
Christoph M. Wintersteiger
fec815b41e Various variable renamings to avoid conflicts with previously defined local variables, function parameters, or members (Visual Studio 2015 warnings). 2015-05-29 18:13:39 +01:00
Christoph M. Wintersteiger
d35ebd6e57 Bugfix for FP to_fp from non-numeral reals. 2015-05-29 14:49:26 +01:00
Christoph M. Wintersteiger
7619d609f9 FPA min/max -+0.0 special cases changed to +0.0 instead of second argument.
Fixes #68
2015-05-28 12:20:48 +01:00
Christoph M. Wintersteiger
6f6cd61817 Bugfix for float-to-float conversion.
Fixes #77
2015-05-22 20:30:12 +01:00
Christoph M. Wintersteiger
8fc0ba0ab5 Moved auxiliary fp.isNaN lemma injection to the right place.
Fixes #102
2015-05-22 12:33:53 +01:00
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
Christoph M. Wintersteiger
eee076b9f8 Bugfixes for fp.min, fp.max.
Fixes the fix for #68
2015-05-21 18:16:02 +01:00
Christoph M. Wintersteiger
8c18bdcca9 Bugfix for fp.roundToIntegral.
Fixes #69
2015-05-21 18:12:14 +01:00
Christoph M. Wintersteiger
51040d3e19 Bugfix for fp.isNormal 2015-05-20 18:32:40 +01:00
Christoph M. Wintersteiger
1e3952406c disabled debug output 2015-05-20 18:14:38 +01:00
Christoph M. Wintersteiger
0197f6e010 Bugfix for fp.rem when the result is zero.
Fixes #91
2015-05-19 16:51:56 +01:00
Christoph M. Wintersteiger
a63481de85 New implementations of fp.roundToIntegral in mpf and fpa2bv.
Partially fixes #69
2015-05-06 19:19:03 +01:00
Christoph M. Wintersteiger
53b479e1c3 Bugfix for fp.rem(0, 0).
Fixes #70.
2015-05-06 12:24:18 +01:00
Christoph M. Wintersteiger
57af3a4c6e FPA min/max refactoring and fixes.
Fixes #68

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-05-04 13:47:04 +01:00
Christoph M. Wintersteiger
4768a360f8 FP: Fix for conversion functions from non-FP 0 to +0.0 even when the rounding mode is ToNegative. 2015-04-25 15:01:20 +01:00
Nikolaj Bjorner
841c1c2290 scope precedence of ||, github issue 24
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-03 12:06:31 -07:00
Christoph M. Wintersteiger
5911f788c3 Improved translation from reals to floats (fp.to_real).
Fixes #14
2015-03-29 14:39:47 +01:00
Christoph M. Wintersteiger
0ed16c09f9 Bugfix for fp.isNegative.
Fixes #13
2015-03-29 13:57:11 +01:00
Christoph M. Wintersteiger
690eb8eaca Bugfix for fp.isSubnormal.
Fixes #10
2015-03-29 13:31:44 +01:00
Christoph M. Wintersteiger
9cbf45f689 Added int to float conversion. 2015-03-26 14:48:55 +00: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
880cbb936e fixed portability issue 2015-01-21 19:37:49 +00:00
Christoph M. Wintersteiger
826d295981 build fixes and removed unused variables 2015-01-21 19:29:31 +00:00
Christoph M. Wintersteiger
95300e801d fixed build errors and warnings
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-21 18:24:36 +00:00
Christoph M. Wintersteiger
74e60fc955 disabled debug output
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-21 15:01:35 +00:00
Christoph M. Wintersteiger
052baaabe4 FPA API bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-21 14:22:35 +00:00
Christoph M. Wintersteiger
c3247d7598 FPA: bugfix for rounding mode bv translation
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-17 16:36:33 +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
0381e4317a Formatting, mostly tabs.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 17:54:04 +00:00
Christoph M. Wintersteiger
cad841cff4 to_fp_real marked as NIY for now
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 17:23:13 +00:00
Christoph M. Wintersteiger
c0bc2518b0 Renaming for consistency mk_value -> mk_numeral
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 14:22:44 +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
5ff923f504 Added fp.to_sbv
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-04 19:01:02 +00:00
Christoph M. Wintersteiger
cf81f86c67 build fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-04 18:52:23 +00:00
Christoph M. Wintersteiger
3266e96e80 fpa2bv slight refactoring
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-02 18:59:27 +00:00
Christoph M. Wintersteiger
3fe11e4c38 improved handling of unspecified values in FP
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-31 17:31:11 +00:00
Christoph M. Wintersteiger
01d78b7274 added internal functions to fpa2bv converter
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-31 14:49:52 +00:00
Christoph M. Wintersteiger
33af7e8468 FPA: bugfixes for fp.to_ubv
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-29 17:09:18 +00:00
Christoph M. Wintersteiger
05121e25d4 FPA theory support for conversion functions
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 19:28:48 +00:00
Christoph M. Wintersteiger
621be0f47f FPA: Added fp.to_ubv
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 18:01:18 +00:00
Christoph M. Wintersteiger
4d1f71775d FPA: added to_fp_unsigned
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 15:26:52 +00:00
Christoph M. Wintersteiger
55662bcf6b fpa2bv: added reset(), adjustments for consistency
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 13:33:19 +00:00
Christoph M. Wintersteiger
a1b4ef9e1b fpa2bv refactoring
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-21 18:44:12 +00:00
Christoph M. Wintersteiger
47325c5fd3 FPA: bugfixes, naming convention, core theory additions
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-16 23:59:27 +00:00
Christoph M. Wintersteiger
f11ee40c38 FPA: bug and leak fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-14 19:09:17 +00:00
Christoph M. Wintersteiger
b30e61e528 FPA: bugfixes, leakfixes, added fp.to_real
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-13 19:34:55 +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
261fe01cea FPA API bug and consistency fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-11-11 12:38:59 +00:00
Christoph M. Wintersteiger
8d3ef92383 Merge branch 'unstable' of https://git01.codeplex.com/z3 into fpa-api
Conflicts:
	scripts/mk_project.py
	src/api/z3.h
	src/ast/float_decl_plugin.cpp
	src/ast/float_decl_plugin.h
	src/ast/fpa/fpa2bv_converter.cpp
	src/ast/fpa/fpa2bv_rewriter.h
	src/ast/rewriter/float_rewriter.cpp
	src/ast/rewriter/float_rewriter.h

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-11-11 11:53:39 +00:00
Christoph M. Wintersteiger
005bb82a17 eliminated unused variables 2014-11-07 16:04:02 +00:00