@zwimer: I had to remove a different move constructor before in the same API due to a different bug that the coverage tool exposed. I was unable to reproduce the bug reported in #5493 in my environment, but the interaction with reference counting and move constructors is sufficiently opaque that I rather not have to fix more bugs introduced with move constructors in the API. I am therefore removing also this use of && and maybe this fixes#5493
This adds a String overload for AssertSoft.
Previously only integer weights could have been used,
limiting the user. With Strings the user can now use
e.g. Java's BigInteger class converted to a String instead.
* Remove size argument in OCaml's `Z3.mk_re_intersect`
Passing the size as argument is unnecessary in OCaml, and that argument is abridged in all similar `Seq` functions. This applies the same pattern.
* Enable the ocaml documentation in Seq.
Turn all the comments into proper documentation comments.
* Fix flake8 violations in z3.py
* Fix flake8 violations in z3printer.py
* Fix flake8 violations in z3rcf.py and z3util.py
* do not allocate list on every call to set_default_rounding_mode
* reformat python code using autopep8
* manually wrap some too long lines and adjust some checks
* run autopep8 in aggressive mode
* run autopep8 in very aggressive mode
* manually reformat z3types.py
* unify: use double quotes
* use sys.version_info instead of sys.version
* drop accidentally commited src/util/z3_version.h
* Add method to print Sort to an ostream
Signed-off-by: Mikhail R. Gadelha <mikhail.ramalho@gmail.com>
* Added new FP check methods and clarify documentation
Signed-off-by: Mikhail R. Gadelha <mikhail.ramalho@gmail.com>
* Added missing fp conversion calls to C++ API
Signed-off-by: Mikhail R. Gadelha <mikhail.ramalho@gmail.com>
* Added method to convert a bv (in ieee format) to fp
Signed-off-by: Mikhail R. Gadelha <mikhail.ramalho@gmail.com>
* Added bv reduction methods to C++ API
Signed-off-by: Mikhail R. Gadelha <mikhail.ramalho@gmail.com>
* Add fp equality method
Signed-off-by: Mikhail R. Gadelha <mikhail.ramalho@gmail.com>
* Added methods to creates fpa nan and fpa inf
Signed-off-by: Mikhail R. Gadelha <mikhail.ramalho@gmail.com>
* Changed default rounding mode of the C++ API to RNE (see issue #4673)
Signed-off-by: Mikhail R. Gadelha <mikhail.ramalho@gmail.com>
* Added methods to generate rounding mode sorts and rounding mode numerals
Signed-off-by: Mikhail R. Gadelha <mikhail.ramalho@gmail.com>