mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable
This commit is contained in:
commit
68b441770e
6 changed files with 16 additions and 4 deletions
|
@ -235,13 +235,14 @@ namespace smt {
|
|||
}
|
||||
|
||||
app* mk_bv_constant(uint64 val, sort* s) {
|
||||
return b().mk_numeral(rational(val,rational::ui64()),64);
|
||||
return b().mk_numeral(rational(val, rational::ui64()), 64);
|
||||
}
|
||||
|
||||
app* max_value(sort* s) {
|
||||
uint64 sz;
|
||||
VERIFY(u().try_get_size(s, sz));
|
||||
return mk_bv_constant(sz, s);
|
||||
SASSERT(sz > 0);
|
||||
return mk_bv_constant(sz-1, s);
|
||||
}
|
||||
|
||||
void mk_lt(app* x, app* y) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue