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

Method zextOrTrunc

smt/expr.cpp:1857–1860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1855}
1856
1857expr expr::zextOrTrunc(unsigned tobw) const {
1858 auto bw = bits();
1859 return bw < tobw ? zext(tobw - bw) : trunc(tobw);
1860}
1861
1862expr expr::concat(const expr &rhs) const {
1863 expr a, b, c, d;

Callers 6

operator+Method · 0.45
smul_fix_helperFunction · 0.45
umul_fix_helperFunction · 0.45
round_up_bitsMethod · 0.45
frexpMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected