| 2434 | } |
| 2435 | |
| 2436 | void expr::printSigned(ostream &os) const { |
| 2437 | if (isNegative().isTrue()) { |
| 2438 | os << '-'; |
| 2439 | (~*this + mkUInt(1, sort())).printUnsigned(os); |
| 2440 | } else { |
| 2441 | printUnsigned(os); |
| 2442 | } |
| 2443 | } |
| 2444 | |
| 2445 | void expr::printHexadecimal(ostream &os) const { |
| 2446 | auto rem = bits() % 4; |
no test coverage detected