Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AliveToolkit/alive2
/ copysign
Method
copysign
smt/expr.cpp:1271–1274 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1269
}
1270
1271
expr expr::copysign(const expr &sign) const {
1272
auto sign_bit = sign.bits() - 1;
1273
return sign.extract(sign_bit, sign_bit).concat(extract(bits() - 2, 0));
1274
}
1275
1276
expr expr::sqrt(const expr &rm) const {
1277
C(rm);
Callers
1
toSMT
Method · 0.80
Calls
3
bits
Method · 0.45
concat
Method · 0.45
extract
Method · 0.45
Tested by
no test coverage detected