davedets
35b0b42d2e
Use macros to disable semi-colon warnings for blocks of macros. ( #10192 )
...
This is another PR towards the goal of getting Z3 to compile cleanly
when included via FetchContents into clang-tidy, which uses a pretty
strict set of warnings.
This PR completes the job started by
https://github.com/Z3Prover/z3/pull/10169 . It adds `-Wextra-semi` to the
set of CLANG_ONLY_WARNINGS, and adds
```
START_DISABLE_EXTRA_SEMI_WARNING;
...macro invocations with trailing semis...
END_DISABLE_WARNING;
```
around all the blocks of macro invocations that provoked warnings.
(Additionally, in realclosure.h, there was one block of macro
invocations that did *not* follow the trailing-semi pattern; changed
that to look like all the others).
2026-07-22 18:01:50 -07:00
Nuno Lopes
3586b613f7
remove default destructors
2024-10-02 22:20:12 +01:00
Christoph M. Wintersteiger
f77608ed88
Add interpreted versions of unspecified cases of fp.to_ieee_bv and fp.to_real ( #6077 )
2022-06-04 17:53:23 +01:00
Nikolaj Bjorner
d36c3faf76
#4880 add interpreted versions of to_bv functions for MBQI quantifier models
2021-09-17 14:23:14 +01:00
Nikolaj Bjorner
c3c5c14ead
prepare for min/max i
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-09-16 16:23:10 +01:00
Nikolaj Bjorner
3ae4c6e9de
refactor get_sort
2021-02-02 04:45:54 -08:00
Nikolaj Bjorner
d0e20e44ff
booyah
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-07-04 15:56:30 -07:00
Christoph M. Wintersteiger
2308d8af09
Fix for partially interpreted floating-point functions. Relates to #2596 , #2631 .
2019-10-28 14:15:29 +00:00
Nikolaj Bjorner
cc26d49060
preparations for dealing with #2596
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-10-12 17:44:52 -07:00
Nikolaj Bjorner
ce06cd0d7a
replace iterators by for, looking at @2596
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-10-12 10:08:30 -07:00
Bruce Mitchener
76eb7b9ede
Use nullptr.
2018-02-12 14:05:55 +07:00
Bruce Mitchener
b7d1753843
Use override rather than virtual.
2018-02-09 21:19:27 +07:00
Christoph M. Wintersteiger
cc9f67267d
Eliminated the remaining operator kinds for partially unspecified FP operators.
2017-09-20 20:16:09 +01:00
Christoph M. Wintersteiger
65697eb277
Portability fixes
2017-09-15 21:13:47 +01:00
Christoph M. Wintersteiger
a479fa610a
Refactored treatment of unspecified FPA functions.
2017-09-14 20:29:07 +01:00
Christoph M. Wintersteiger
31cfca0444
Eliminated unspecified operators for fp.to_*bv, fp.to_real. Also fixes #1191 .
2017-09-12 19:43:45 +01:00
Christoph M. Wintersteiger
4ceef09156
Renamed FPA-internal functions now that they are exposed.
2017-09-11 15:04:53 +01:00
Christoph M. Wintersteiger
e88487021a
Exposed internal FPA func_decl kinds. Added missing FPA simplifications. Fixes #1242 .
2017-09-11 14:36:58 +01:00
Nikolaj Bjorner
b19f94ae5b
make include paths uniformly use path relative to src. #534
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-31 13:24:11 -07:00
Christoph M. Wintersteiger
e4f7ff9881
Added Z3_fpa_is_numeral_negative to FPA API
2016-10-27 15:06:24 +01:00
Christoph M. Wintersteiger
89d38385db
Added functions to test FP numerals for special values.
2016-10-24 12:50:05 +01:00
Christoph M. Wintersteiger
7e705a2d32
Bug fixes for underspecified FP operations.
2016-10-15 18:35:39 +02:00
Christoph M. Wintersteiger
bc257211d6
Whitespace
2016-10-15 18:35:39 +02:00
Christoph M. Wintersteiger
617e941015
fp2bv refactoring
2016-05-23 18:10:17 +01:00
Christoph M. Wintersteiger
bf3a5effbc
Fixed and refactored fp.min/fp.max for theory_fpa.
...
Fixes #616
2016-05-23 15:38:25 +01:00
Christoph M. Wintersteiger
d4bc8ebb70
FP to BV translation of UFs refactored.
2016-05-22 18:16:57 +01:00
Christoph M. Wintersteiger
fe3f8466b6
Partial support for fpa2bv translation in complex types.
2016-05-21 18:08:48 +01:00
Christoph M. Wintersteiger
1cc8146aba
Bugfixes for FP UFs and arrays.
2016-05-20 19:53:57 +01:00
Christoph M. Wintersteiger
778c7fcc64
Bugfix for model evaluator and internal, uninterpreted FPA functions.
...
Fixes #518
2016-03-16 16:17:08 +00:00
Christoph M. Wintersteiger
99d7a47f82
Bugfixes for unspecified results from fp.to_* (models are still incomplete).
...
Relates to #507
2016-03-15 21:45:54 +00:00
Christoph M. Wintersteiger
ce64999ee2
More bugfixes for fp.to_ieee_bv for unspecified input/output
2016-03-15 14:50:59 +00:00
Christoph M. Wintersteiger
de3cb7e5dc
More FPA exponent/siginficand order consistency
2016-01-05 18:05:21 +00:00
Christoph M. Wintersteiger
677ff221f8
Internal consistency: FP exponents are always passed before significands.
2016-01-04 18:57:15 +00:00
Christoph M. Wintersteiger
ca496f20cb
Partial refactoring of fpa2bv conversion to support proofs.
2015-10-25 13:10:40 +00:00
Christoph M. Wintersteiger
099775947e
Partial fix for fp,min/fp.max models
2015-10-25 13:10:40 +00:00
Christoph M. Wintersteiger
de39173f6f
Corrected unspecified behavior of fp.min/fp.max corner cases in fpa2bv_converter and in theory_fpa.
...
Fixes #68
2015-10-07 20:44:08 +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
79d69cd5f0
Added FP to_ieee_bv to fpa_rewriter to enable model evaluation.
2015-09-16 12:57:05 +01:00
Nikolaj Bjorner
4bc044c982
update header guards to be C++ style. Fixes issue #9
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-08 23:18:40 -07: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
5344d6f3c0
various bugfixes and extensions for FPA
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-15 19:25:49 +00:00
Christoph M. Wintersteiger
c0bc2518b0
Renaming for consistency mk_value -> mk_numeral
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 14:22:44 +00:00
Christoph M. Wintersteiger
c0a027fc80
FPA: Elminated nzero/pzero AST kinds
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 14:07:47 +00:00
Christoph M. Wintersteiger
5e5758bb25
More float -> fpa renaming
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 13:37:18 +00:00
Christoph M. Wintersteiger
dd17f3c7d6
Renaming floats, float, Floats, Float -> FPA, fpa
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 13:18:56 +00:00