MCPcopy Create free account
hub / github.com/AliveToolkit/alive2 / printSigned

Method printSigned

smt/expr.cpp:2436–2443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2434}
2435
2436void 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
2445void expr::printHexadecimal(ostream &os) const {
2446 auto rem = bits() % 4;

Callers 1

printValMethod · 0.80

Calls 2

printUnsignedMethod · 0.80
isTrueMethod · 0.45

Tested by

no test coverage detected