Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AliveToolkit/alive2
/ trunc
Method
trunc
smt/expr.cpp:1848–1850 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1846
}
1847
1848
expr expr::trunc(unsigned tobw) const {
1849
return extract(tobw-1, 0);
1850
}
1851
1852
expr expr::sextOrTrunc(unsigned tobw) const {
1853
auto bw = bits();
Callers
4
operator+
Method · 0.45
smul_fix
Method · 0.45
smul_fix_no_soverflow
Method · 0.45
umul_fix
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected