Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AliveToolkit/alive2
/ isOne
Method
isOne
smt/expr.cpp:425–428 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
423
}
424
425
bool expr::isOne() const {
426
uint64_t n;
427
return isUInt(n) && n == 1;
428
}
429
430
bool expr::isAllOnes() const {
431
C();
Callers
5
isDereferenceable
Method · 0.80
sdiv
Method · 0.80
udiv
Method · 0.80
get_bool
Function · 0.80
mkIf
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected