mirror of
https://github.com/Z3Prover/z3
synced 2025-06-15 02:16:16 +00:00
merge
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
8893913c98
commit
f11cb77c3d
2 changed files with 4 additions and 5 deletions
|
@ -262,13 +262,11 @@ static void parse_cmd_line_args(int argc, char ** argv) {
|
||||||
enable_trace(opt_arg);
|
enable_trace(opt_arg);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef Z3DEBUG
|
|
||||||
else if (strcmp(opt_name, "dbg") == 0) {
|
else if (strcmp(opt_name, "dbg") == 0) {
|
||||||
if (!opt_arg)
|
if (!opt_arg)
|
||||||
error("option argument (-dbg:tag) is missing.");
|
error("option argument (-dbg:tag) is missing.");
|
||||||
enable_debug(opt_arg);
|
enable_debug(opt_arg);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
else if (strcmp(opt_name, "memory") == 0) {
|
else if (strcmp(opt_name, "memory") == 0) {
|
||||||
if (!opt_arg)
|
if (!opt_arg)
|
||||||
error("option argument (-memory:val) is missing.");
|
error("option argument (-memory:val) is missing.");
|
||||||
|
|
|
@ -1783,9 +1783,10 @@ void display_binary_data(std::ostream &out, unsigned val, unsigned numBits) {
|
||||||
|
|
||||||
template<bool SYNCH>
|
template<bool SYNCH>
|
||||||
void mpz_manager<SYNCH>::display_bin(std::ostream & out, mpz const & a, unsigned num_bits) const {
|
void mpz_manager<SYNCH>::display_bin(std::ostream & out, mpz const & a, unsigned num_bits) const {
|
||||||
if (is_small(a)) {
|
if (is_uint(a)) {
|
||||||
display_binary_data(out, static_cast<unsigned>(get_uint64(a)), num_bits);
|
display_binary_data(out, get_uint(a), num_bits);
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
#ifndef _MP_GMP
|
#ifndef _MP_GMP
|
||||||
digit_t *ds = digits(a);
|
digit_t *ds = digits(a);
|
||||||
unsigned sz = size(a);
|
unsigned sz = size(a);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue