3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-05-30 16:15:55 -07:00
parent 8893913c98
commit f11cb77c3d
2 changed files with 4 additions and 5 deletions

View file

@ -262,13 +262,11 @@ static void parse_cmd_line_args(int argc, char ** argv) {
enable_trace(opt_arg);
}
#endif
#ifdef Z3DEBUG
else if (strcmp(opt_name, "dbg") == 0) {
if (!opt_arg)
error("option argument (-dbg:tag) is missing.");
enable_debug(opt_arg);
}
#endif
else if (strcmp(opt_name, "memory") == 0) {
if (!opt_arg)
error("option argument (-memory:val) is missing.");

View file

@ -1783,9 +1783,10 @@ void display_binary_data(std::ostream &out, unsigned val, unsigned numBits) {
template<bool SYNCH>
void mpz_manager<SYNCH>::display_bin(std::ostream & out, mpz const & a, unsigned num_bits) const {
if (is_small(a)) {
display_binary_data(out, static_cast<unsigned>(get_uint64(a)), num_bits);
} else {
if (is_uint(a)) {
display_binary_data(out, get_uint(a), num_bits);
}
else {
#ifndef _MP_GMP
digit_t *ds = digits(a);
unsigned sz = size(a);