Christoph M. Wintersteiger
31e78cd178
Bugfix for fp.rem(0, 0).
...
Fixes #70 .
2015-05-08 22:49:14 +01:00
Christoph M. Wintersteiger
8d7b76f2b2
Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable
2015-05-08 22:46:38 +01:00
Nikolaj Bjorner
901d8a9f5b
change exception test to take into account new coercion operation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-08 00:38:26 -07:00
Nikolaj Bjorner
ad39811dc0
allow coercion from Boolean to Int/Real, fixes #78
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-07 21:36:37 -07:00
Nikolaj Bjorner
dc52ebd312
Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable
2015-05-07 21:33:51 -07:00
Nikolaj Bjorner
45eda4bee7
allow coercion from Boolean to Int/Real, fixes #78
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-07 21:33:36 -07:00
Nikolaj Bjorner
99861ffc32
allow coercion from Boolean to Integers and reals
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-05-07 21:32:02 -07: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
7c36846d39
Fixed import problems in z3util.py.
...
Fixes #67
2015-05-04 14:09:38 +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
Nikolaj Bjorner
9377779e58
merge with unstable
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-30 10:40:03 -07:00
Nikolaj Bjorner
a0f0b53686
fixes to #52 , #53
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-28 14:48:59 -07:00
Christoph M. Wintersteiger
1d49f61b9a
Merge branch 'unstable' of https://github.com/Z3Prover/z3 into contrib
...
Conflicts:
README
src/api/ml/build-lib.sh
src/api/ml/z3.ml
src/api/ml/z3.mli
src/api/ml/z3_stubs.c
2015-04-28 15:19:08 +01:00
Nikolaj Bjorner
620c11932b
type check distinct operator. fixes #62
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-27 11:10:37 -07:00
Nuno Lopes
f7d9438e7b
add failing test for issue #62 (mk_distinct doesnt type check)
...
Signed-off-by: Nuno Lopes <nlopes@MSRC-3617536.europe.corp.microsoft.com>
2015-04-27 17:44:38 +01:00
Christoph M. Wintersteiger
abe73db702
FP: bugfix for get_some_value which couldn't produce rounding-mode values.
2015-04-25 15:19:48 +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
Christoph M. Wintersteiger
b58d3f4335
Bugfix for MPF unpacking
2015-04-25 14:26:18 +01:00
Christoph M. Wintersteiger
8c3fc574d1
comments fix
2015-04-24 15:37:45 +01:00
Nikolaj Bjorner
ffc3a36dcb
checked ite-expressions as shared for bounds detection
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-23 19:59:33 +02:00
Ken McMillan
9bff93279f
merging into unstable
2015-04-20 12:31:16 -07:00
Ken McMillan
5f37b1d32f
fixed interp api bug (github issue #47 )
2015-04-20 12:30:15 -07:00
Nikolaj Bjorner
6c1a5390ef
fix big-int bug for shift amounts, github issue 44, reported by Dejan
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-20 10:20:06 +02:00
Nikolaj Bjorner
7d88d04514
fix crash reported by Jojanovich, github issue 45'
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-20 00:55:30 +02:00
Christoph M. Wintersteiger
7e6ab736c0
Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable
2015-04-17 16:10:13 +01:00
Christoph M. Wintersteiger
f1a1267d4c
Added missing notes on fpToIEEEBV in Python.
2015-04-17 16:08:53 +01:00
Alberto Griggio
8e772b428b
use a base iz3_exception class for exceptions raised during interpolation
...
Using a base exception class, derived from z3_exception, makes it possible to
recover gracefully if something goes wrong during the computation of
interpolants.
2015-04-16 19:14:34 +02:00
Ken McMillan
af444beb2e
re-indenting interp and duality
2015-04-15 12:22:50 -07:00
Christoph M. Wintersteiger
e1303e1eab
Python API: Fixed expression types for floating point conversion functions.
...
Partially fixes #39
2015-04-15 12:07:53 +01:00
Nikolaj Bjorner
80a13977fc
fix race condition from cancellation exposed by build regression tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-15 05:44:10 +01:00
Christoph M. Wintersteiger
2948e47240
Java API doc fix
2015-04-13 17:43:29 +01:00
Nikolaj Bjorner
3ba2e712b2
merge with unstable branch
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-12 15:54:52 -07:00
Christoph M. Wintersteiger
b7bb53406f
Turned Z3Exception into a RuntimeException such that throws declarations are not needed anymore. Thanks to codeplex user steimann for this suggestion.
2015-04-08 13:16:32 +01:00
Christoph M. Wintersteiger
2f4c923216
Bugfix; InterpolationContext deleted Z3_config objects (inconsistent with non-Interpolation mk_context).
...
Fixes #25
2015-04-08 13:09:27 +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
Nikolaj Bjorner
0e8a0822f1
fix used_vars reported by Daniel J. H, issue #24
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-03 11:59:27 -07:00
Ken McMillan
d797b0c285
merge
2015-04-03 11:25:43 -07:00
Daniel J. Hofmann
4b6b718222
Wunused-exception-parameter
2015-04-03 20:11:58 +02:00
Daniel J. Hofmann
2252836cf8
Wstring-conversion
...
static_cast<bool>("string lit") evaluates to true. The assert is
supposed to always trigger, thus assert(false && "string lit").
2015-04-03 19:55:21 +02:00
Daniel J. Hofmann
42e0132639
Wshift-sign-overflow
...
See:
http://stackoverflow.com/questions/26331035/why-was-1-31-changed-to-be-implementation-defined-in-c14
And Howard Hinnant's explanation:
http://stackoverflow.com/questions/19593938/is-left-shifting-a-negative-integer-undefined-behavior-in-c11#comment29091986_19593938
2015-04-03 19:45:49 +02:00
Daniel J. Hofmann
88f6e74a27
Wnewline-eof
2015-04-03 19:31:09 +02:00
Daniel J. Hofmann
6150083276
Wignored-qualifiers
2015-04-03 19:24:35 +02:00
Daniel J. Hofmann
4e59ba922b
Wc++11-extensions
2015-04-03 19:13:52 +02:00
Nikolaj Bjorner
bd162588b2
enable SAT solver by default for MaxSAT constraints
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-02 17:09:01 -07:00
Nikolaj Bjorner
26c53d055a
Merge branch 'opt' of https://github.com/Z3Prover/z3 into opt
2015-04-02 15:22:41 -07:00
Nikolaj Bjorner
dca0fb77c2
use same defaults as unstable branch for difference logic configuration
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-02 15:22:32 -07:00
Ken McMillan
b6787fe5a9
merge
2015-04-02 13:13:10 -07:00
Ken McMillan
d42e3ce651
possible header problem for std::less
2015-04-02 13:10:23 -07:00