Nikolaj Bjorner
8ba0fb5b58
rounding mode sort removed for incompatibility
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-05-21 16:18:43 -07:00
Nikolaj Bjorner
e63e4587a4
build
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-05-21 15:41:12 -07:00
Mikhail R. Gadelha
ed59c838bf
Implemented missing methods to the C++ API ( #5242 )
...
* 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>
2021-05-21 14:10:09 -07:00
Matt Thornton
9cc1549dbe
Use osx-x64 for mac rid rather than macos. ( #5288 )
2021-05-20 15:19:31 -07:00
Nikolaj Bjorner
ec034679ce
#5215
...
memory leaks
2021-05-19 12:42:38 -07:00
Zachary Wimer
f942c3df91
operator= checks this equality before moving ( #5265 )
2021-05-12 13:10:14 -07:00
Philipp Schröer
7373946d67
julia: fix duplicate method ( #5251 )
...
Resulted in "Double registration for method" errors when loading Z3.jl
with a current build of Z3.
2021-05-07 14:00:33 -07:00
Zachary Wimer
77dea18f54
Added missing fp conversion methods to C++ API ( #5234 )
2021-04-30 18:45:28 -07:00
Zachary Wimer
e4b660321f
Cpp api string const ( #5228 )
...
* string_const added
* typo fixed
2021-04-29 16:16:48 -07:00
Nikolaj Bjorner
a8ccbd7103
fix #5226
2021-04-29 13:36:25 -07:00
Nikolaj Bjorner
d731ec7cba
Revert "Cpp api fp to bv ( #5218 )" ( #5221 )
...
This reverts commit fa2d593739
.
2021-04-27 08:44:15 -07:00
Zachary Wimer
fa2d593739
Cpp api fp to bv ( #5218 )
...
* fpa_to_ubv and fpa_to_sbv added to C++ API
* Bug fix
* fpa_fp method added to API
* Adjust types to prefer sort over expr and bug fix
2021-04-26 17:00:05 -07:00
Nikolaj Bjorner
0422b59123
build
2021-04-24 16:37:03 -07:00
Nikolaj Bjorner
385109d484
regarding #5206
2021-04-24 14:25:26 -07:00
Nikolaj Bjorner
44d77a978a
cw review comments #5200
2021-04-20 09:27:59 -07:00
Zachary Wimer
831afa8124
Cpp api add missing fp methods (return type correction) ( #5200 )
...
* added is_nan and is_inf to API
* added support to to_ieee_bv
* bug fix
2021-04-19 17:55:23 -07:00
Zachary Wimer
10e9345cd7
C++ API add missing FP methods ( #5199 )
...
* added is_nan and is_inf to API
* added support to to_ieee_bv
2021-04-19 15:24:09 -07:00
Zachary Wimer
542878dea3
Add sge and sgt to API; now has sge,sgt,sle,slt, and unsigned counterparts ( #5194 )
2021-04-19 08:53:43 -07:00
Zachary Wimer
f8228ff50e
[c++ api] add const ( #5195 )
2021-04-19 10:24:12 +01:00
Zachary Wimer
a1741e0e16
z3 c++ api: delete implicit constructor ( #5191 )
2021-04-16 10:46:03 +01:00
Zachary Wimer
239ace4353
expr move semantics supported via ast ( #5190 )
2021-04-15 13:37:31 -07:00
Rolf Eike Beer
7f8e2a9f75
clean up CMake code ( #5182 )
...
* CMake: simplify FindGMP.cmake
Remove printing of all the different variables, and let FPHSA output the library
name. Add an imported target, which bundles the library and the include
directories for easier usage.
* fix build: vector::c_ptr() now is vector::data()
* CMake: use Threads::Threads imported module
Otherwise the setting of THREADS_PREFER_PTHREAD_FLAG has no effect.
* CMake: remove needless policy setting
The minimum required version is CMake 3.4, where these policies are already set
to new because they were introduced earlier.
* CMake: remove needless variable expansion
2021-04-14 10:29:15 -07:00
Nikolaj Bjorner
4a6083836a
call it data instead of c_ptr for approaching C++11 std::vector convention.
2021-04-13 18:17:35 -07:00
Nuno Lopes
49906a5a58
api_context: remove basic&arith fids fields
...
these are now constant,s o we can save some space
the remaining ones need to be made constant as well..
2021-04-13 17:42:42 +01:00
Nuno Lopes
afdf80509a
remove api_context::m_search as it's always constant (false)
2021-04-13 17:32:17 +01:00
Nuno Lopes
853ce099ec
api_context: consolidate ast trail vectors
...
a context never changes between user rc/non-user rc, so we can reuse the trail for both options
and save memory & smallish speedup
2021-04-13 17:21:42 +01:00
Zachary Wimer
f4127bd6f3
Remove function arg names for deleted functions ( #5176 )
2021-04-12 14:37:44 -07:00
Zachary Wimer
8e6ab5b1bf
prefer parent operator= to manually copying parent data for extensibi… ( #5177 )
...
* prefer parent operator= to manually copying parent data for extensibility reasons
* typos fixed
2021-04-12 14:37:27 -07:00
Zachary Wimer
dd3be32b98
Cpp api general minor improvements ( #5175 )
...
* Added noexcepts, deleted trivial copy functions that can be implcit, small things
* Add back in virtual destructor. This has rule of 5 side effects, but move semantics are not supported yet so it is *mostly* ok. The move PR will address this.
2021-04-12 14:03:20 -07:00
Zachary Wimer
70604a6856
Explicitly delete private constructors ( #5174 )
2021-04-12 13:46:55 -07:00
Zachary Wimer
973f79dc4d
rename final to register_final since final is a specifier in C++11+ ( #5172 )
2021-04-12 13:38:03 -07:00
Zachary Wimer
4625454a38
Fix fixedpoint rc bug and fix optimize non-const bug ( #5173 )
...
* Fix fixedpoint rc bug and fix optimize non-const bug
* Fix indentation
2021-04-12 13:37:05 -07:00
Zachary Wimer
d73b883b38
array uses unique_ptr ( #5171 )
...
* array uses unique_ptr
* Constructor initalize m_array over set it
* prefer arr.get() to &arr[0]
2021-04-12 13:01:24 -07:00
Nikolaj Bjorner
54f04a5751
being deliberate non-null #5156
2021-04-10 16:10:35 -07:00
Nikolaj Bjorner
d91eac24b7
more missing nullptr flexibility #5156
2021-04-08 10:34:09 -07:00
Nikolaj Bjorner
b1f5933c7d
fix missing nullptr check for #5156
2021-04-08 10:30:33 -07:00
Nikolaj Bjorner
d9af8ea9fb
fix #5113
2021-04-07 12:20:12 -07:00
Nikolaj Bjorner
94b4d1b442
fix travis build for python doc
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-03-29 15:30:31 -07:00
Zachary Wimer
531a828c57
Update setup.py to use cmake build system ( #5128 )
2021-03-28 14:17:33 -07:00
Alexander Kreuzer
dc5fa89de3
Mixing Integers and Rational in the new Java API #5085 ( #5098 )
...
* Added covariance to arithmetic operations
* Added distillSort
* Update JavaGenericExample.java
Co-authored-by: Alexander Kreuzer <alexander.kreuzer@sap.com>
Co-authored-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-03-16 05:24:23 -07:00
Nikolaj Bjorner
d03fdf5fed
more descriptive naming convention
2021-03-15 15:48:33 -07:00
Nikolaj Bjorner
4b3fecc35e
remove dependency on ast from params
2021-03-15 15:40:41 -07:00
Nikolaj Bjorner
8412ecbdbf
fixes to new solver, add mode for using nlsat solver eagerly from nla_core
2021-03-14 13:57:04 -07:00
Graydon Hoare
e8b3c90e14
Fix unintentional re-import of package z3 in z3printer, in python3. ( #5082 )
2021-03-06 10:44:07 -08:00
Nikolaj Bjorner
e804f7743a
Revert "Adjust imports so z3.z3 is still available in python3 ( #5079 )" ( #5081 )
...
This reverts commit 957d7bfe35
.
2021-03-05 15:26:00 -08:00
Graydon Hoare
957d7bfe35
Adjust imports so z3.z3 is still available in python3 ( #5079 )
2021-03-04 17:18:39 -08:00
Nikolaj Bjorner
f7b1469462
Try freeing context in dispose method and not wait for finalizer #5043
2021-02-27 11:02:58 -08:00
Nikolaj Bjorner
08f55f9d1f
start wcnf
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-02-26 11:13:44 -08:00
Nikolaj Bjorner
be68456c06
java compilation?
2021-02-26 05:04:46 -08:00
Nikolaj Bjorner
06caf57a86
fix #5033
2021-02-26 03:42:13 -08:00