3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00
Commit graph

7868 commits

Author SHA1 Message Date
Christoph M. Wintersteiger 328ad248b6 Fixed overflow problem in fp.to_?bv. Thanks to Florian Schanda for reporting this bug. 2018-04-05 15:26:25 +01:00
Christoph M. Wintersteiger 793642f48d Fixed MPF to_sbv. Thanks to Florian Schanda for reporting this bug. 2018-04-05 15:23:16 +01:00
Nikolaj Bjorner 3f7453f5c5 fixing build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-07 20:23:31 -08:00
Nikolaj Bjorner 61934d8106 align semantics of re.allchar with string proposal. #1475
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-07 20:08:15 -08:00
Nikolaj Bjorner 1ee7871bbf to fix #1476
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-06 18:48:03 -08:00
Nikolaj Bjorner cb6896087d fix #1468
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-06 10:21:02 -08:00
Nikolaj Bjorner 159e6ad987
Merge pull request #1472 from levnach/dev
adding template definitions
2018-02-06 07:52:16 -08:00
Lev Nachmanson c74ad46682 remove a duplicate definition
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2018-02-05 21:22:46 -08:00
Nikolaj Bjorner 309012e127
Merge pull request #1474 from waywardmonkeys/inconsistent-missing-override
Fix inconsistent missing override warnings.
2018-02-05 20:33:56 -08:00
Nikolaj Bjorner 755a1b8c1f
Merge pull request #1473 from waywardmonkeys/vector-reserve
Reserve vector space when possible.
2018-02-05 20:32:02 -08:00
Bruce Mitchener 5911f810ed Fix inconsistent missing override warnings. 2018-02-06 11:23:08 +07:00
Bruce Mitchener 54b3cd0071 Reserve vector space when possible.
This fixes all current instances of the
`performance-inefficient-vector-operation`
warning in clang-tidy.
2018-02-06 11:21:17 +07:00
Nikolaj Bjorner b2bd4dd3b4 fix #1471
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-05 18:54:14 -08:00
Nikolaj Bjorner b8680f8a46 Merge branch 'master' of https://github.com/z3prover/z3 2018-02-05 18:33:39 -08:00
Nikolaj Bjorner a1d4e485a4 fix #1469
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-05 18:33:31 -08:00
Nikolaj Bjorner 9d37257059
Merge pull request #1465 from waywardmonkeys/fix-typos
thanks
2018-02-05 18:31:09 -08:00
Nikolaj Bjorner 3e810d6c54 remove static from format (not thread safe), remove std::move #1466
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-05 16:46:49 -08:00
Nikolaj Bjorner 2853558bc2
Merge pull request #1466 from waywardmonkeys/reduce-copying
Use const refs to reduce copying.
2018-02-05 16:37:44 -08:00
Lev Nachmanson a5caa50606 adding template definitions
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2018-02-05 09:42:56 -08:00
Nikolaj Bjorner e332652989 Merge branch 'master' of https://github.com/z3prover/z3 2018-02-04 20:54:49 -08:00
Nikolaj Bjorner 885dfad237 fix #1458
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-04 20:54:21 -08:00
Nikolaj Bjorner 87f7853b9b
Merge pull request #1462 from Firobe/patch-1
Fix encoding error
2018-02-04 16:14:21 -08:00
Christoph M. Wintersteiger 175273fe27 Merge branch 'master' of https://github.com/Z3Prover/z3 2018-02-04 22:43:43 +00:00
Nikolaj Bjorner caaaa23438 Merge branch 'master' of https://github.com/z3prover/z3 2018-02-04 13:06:54 -08:00
Nikolaj Bjorner bf04c38a63 add logging for #1470
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-04 13:06:14 -08:00
Nikolaj Bjorner 20d6543538 set uninitialized fields. Maybe related to #1468
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-04 12:56:21 -08:00
Christoph M. Wintersteiger 333374229d Fixed UFs for unspecified cases of FP conversion operators. Thanks for Youcheng Sun for reporting this bug. 2018-02-03 16:48:05 +00:00
Christoph M. Wintersteiger c3ed986031 Fixed RNA FP rounding mode semantics. Fixes #1190 and bugs reported by Youcheng Sun. 2018-02-03 16:46:21 +00:00
Christoph M. Wintersteiger 8689921e9c Fixed missing bit of precision in fp.to_ubv/fp.to_sbv. Thanks to Youcheng Sun for reporting this bug. 2018-02-03 15:16:23 +00:00
Christoph M. Wintersteiger ad3b0ecad0 Fixed pattern rewriting to produce only valid patterns (which led to a segfault). Bug reported by Youcheng Sun. 2018-02-02 19:27:36 +00:00
Bruce Mitchener ae8027e594 Fix typos. 2018-02-01 19:39:43 +07:00
Nikolaj Bjorner 54ba25175c
Merge pull request #1467 from waywardmonkeys/use-char-rfind
Use char version of rfind.
2018-01-30 08:41:23 -08:00
Bruce Mitchener 6d6b614924 Use char version of rfind.
There is only a single character involved, so use the char version.

This was found via `clang-tidy`.
2018-01-30 21:45:12 +07:00
Bruce Mitchener 177414c0ee Use const refs to reduce copying.
These are things that have been found by `clang-tidy`.
2018-01-30 21:43:56 +07:00
Nikolaj Bjorner 73e9d351dc adding initial model to updated #1463
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-01-30 03:21:58 -08:00
Nikolaj Bjorner 5a16d3ef7f fix license in sstream
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-01-29 19:14:17 -08:00
Nikolaj Bjorner 2f6c80ef08 fix build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-01-28 12:06:14 -08:00
Nikolaj Bjorner 3e191d5cc5 Merge branch 'master' of https://github.com/z3prover/z3 2018-01-28 11:46:02 -08:00
Nikolaj Bjorner e4198c38e2 add solution_prefix per #1463, have parto with single objective behave similar to multipe-objectives #1439
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-01-28 11:45:39 -08:00
Virgile ROBLES fddc4e311f
Fix encoding error
The encode/decode is not needed and fails if any non-ASCII character is returned by g++ or clang++
2018-01-26 00:30:59 +01:00
Christoph M. Wintersteiger 305212c021 Added rewrite cycle detection in demodulator/ufbv_rewriter. Partial fix for #1456. 2018-01-25 15:18:13 +00:00
Nikolaj Bjorner 57406d6cc4 more updates for #1439
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-01-17 18:11:14 -08:00
Nikolaj Bjorner b5335bc34b change behavior of single-objective pareto to use Pareto GIA algorithm (so not a good idea with MaxSAT solving, but then uniform behavior #1439
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-01-13 20:08:23 -08:00
Nikolaj Bjorner 450f3c9b45 Merge branch 'master' of https://github.com/z3prover/z3 2018-01-12 19:29:56 -08:00
Nikolaj Bjorner 5159291d57 add missing interpreted tail during bottom-up simplification #1452
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-01-12 19:29:42 -08:00
Christoph M. Wintersteiger cfdde2f4d1 Added apply_result::as_expr to the C++ API. Requested here: https://stackoverflow.com/questions/48071840/get-result-of-tactics-application-as-an-expression-in-z3 2018-01-08 13:24:52 +00:00
Nikolaj Bjorner 1992749e78 to ascii or not to ascii #1447
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-01-07 18:52:00 -08:00
Nikolaj Bjorner e7851a0637 fix build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-01-07 18:32:31 -08:00
Nikolaj Bjorner 482738bc8a avoid reset_error in dec_ref in bv_val #1443. Add BSD required template instance #1444
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-01-07 15:51:45 -08:00
Nikolaj Bjorner 711023d557
Merge pull request #1440 from mtrberzi/develop
Make linear search the default for theory_str
2018-01-03 13:22:39 -08:00