3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-03 22:05:45 +00:00
Commit graph

93 commits

Author SHA1 Message Date
Christoph M. Wintersteiger
b60f30c802 Merge pull request #236 from wintersteiger/i68
Fixes for issue #68
2015-10-07 20:56:35 +01:00
Christoph M. Wintersteiger
8a026c355f Corrected unspecified behavior of corner cases in fp.min/fp.max.
Partially addresses #68.
2015-10-07 20:39:36 +01:00
Christoph M. Wintersteiger
fcf036695e Bugfix for mpf to_ieee_bv 2015-10-07 20:37:12 +01:00
Christoph M. Wintersteiger
04266fccc9 Bugfix for mpf sqrt.
Fixes #222.
2015-09-21 20:56:07 +01:00
Christoph M. Wintersteiger
0b15fc9402 Bugfix for mpf sqrt.
Fixes #222.
2015-09-21 19:44:53 +01:00
Christoph M. Wintersteiger
e9565d6a7f Fixed warning message 2015-09-17 12:18:44 +01:00
Christoph M. Wintersteiger
2115ea8bb8 Bugfix for fp.sqrt.
Fixes #220.
2015-09-17 12:13:04 +01:00
Christoph M. Wintersteiger
79d69cd5f0 Added FP to_ieee_bv to fpa_rewriter to enable model evaluation. 2015-09-16 12:57:05 +01:00
Christoph M. Wintersteiger
d6e2fa6a60 Bugfix for MPF fma. 2015-09-14 14:07:11 +01:00
Christoph M. Wintersteiger
25f75b60fe Bugfix for fp.mul and fp.fma for small numbers of e/s bits.
Fixes #215.
2015-09-10 11:37:06 +01:00
Christoph M. Wintersteiger
49a4df0de1 MPF min/max -+0.0 special cases changed to +0.0 instead of second argument.
Another piece of fix #68
2015-05-28 12:54:57 +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
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
25f37c8a0c Resolved mpf merge conflicts. 2015-05-19 11:00:34 +01:00
Nikolaj Bjorner
64bd62b17e fix gcc compiler warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-16 11:56:04 +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
73eb7cbf5c Bugfix for mpf roundToIntegral.
Partially fixes #69
2015-05-05 23:53:33 +01:00
Christoph M. Wintersteiger
b58d3f4335 Bugfix for MPF unpacking 2015-04-25 14:26:18 +01:00
Christoph M. Wintersteiger
99ea0a8c19 Bugfix for mpf is_normal.
Fixes #17
2015-03-30 08:02:57 +01:00
Christoph M. Wintersteiger
690eb8eaca Bugfix for fp.isSubnormal.
Fixes #10
2015-03-29 13:31:44 +01:00
Christoph M. Wintersteiger
941d1063dd FPA rewriter and MPF bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-06 18:48:14 +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
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
052baaabe4 FPA API bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-21 14:22:35 +00:00
Christoph M. Wintersteiger
007ecb4ab2 MPF bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-04 14:37:33 +00:00
Christoph M. Wintersteiger
09814128a6 Update MPF toString
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-02 18:57:38 +00:00
Christoph M. Wintersteiger
97df505dba MPF consistency fix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-01 15:23:27 +00:00
Christoph M. Wintersteiger
2258988b37 MPF bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-31 14:48:06 +00:00
Christoph M. Wintersteiger
defb6158fe MPF: bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-29 17:09:28 +00:00
Christoph M. Wintersteiger
96c8bd7e91 MPF conversion bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 17:57:21 +00:00
Christoph M. Wintersteiger
6ebeebde50 Added parameter to display floating point numerals as reals
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 13:32:34 +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
Nuno Lopes
97a5e6d326 assorted compiler warnings fixes
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-28 12:21:56 +01: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
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
76c59cb85c MPF conversion bugfix.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-06-14 17:22:25 +01:00
Christoph M. Wintersteiger
e50a9e8dbf MPF: fused-mul-add fixes. Sometimes this is still off by a bit.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-05-01 14:10:50 +01:00
Christoph M. Wintersteiger
e5f03f999a FPA: Added conversion operator float -> float.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-03-04 20:21:14 +00:00
Christoph M. Wintersteiger
7822b86b53 FPA: multiple bugfixes for HWF, MPF and a bugfix for FPA2BV (many thanks to Gabriele Paganelli)
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-03-01 19:06:01 +00:00
Leonardo de Moura
2c464d413d Reorganizing source code. Created util dir
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-10-20 10:19:38 -07:00
Renamed from lib/mpf.cpp (Browse further)