mirror of
https://github.com/Z3Prover/z3
synced 2025-08-12 22:20:54 +00:00
overhaul stoi and itos to fix #1957 and related
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
801026937d
commit
88fb826a03
3 changed files with 106 additions and 97 deletions
|
@ -552,6 +552,8 @@ namespace smt {
|
|||
void add_stoi_axiom(expr* n);
|
||||
bool add_stoi_val_axiom(expr* n);
|
||||
bool add_itos_val_axiom(expr* n);
|
||||
void add_si_axiom(expr* s, expr* i, unsigned sz);
|
||||
void ensure_digit_axiom();
|
||||
literal is_digit(expr* ch);
|
||||
expr_ref digit2int(expr* ch);
|
||||
void add_itos_length_axiom(expr* n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue