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

Method zext

smt/expr.cpp:1842–1846  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1840}
1841
1842expr expr::zext(unsigned amount) const {
1843 if (amount == 0)
1844 return *this;
1845 return mkUInt(0, amount).concat(*this);
1846}
1847
1848expr expr::trunc(unsigned tobw) const {
1849 return extract(tobw-1, 0);

Callers 6

add_no_uoverflowMethod · 0.45
sub_no_uoverflowMethod · 0.45
mul_no_uoverflowMethod · 0.45
umul_fix_helperFunction · 0.45
ctpopMethod · 0.45
frexpMethod · 0.45

Calls 1

concatMethod · 0.45

Tested by

no test coverage detected