Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chipsalliance/Surelog
/ flip
Function
flip
src/DesignCompile/CompileHelper.cpp:3921–3921 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3919
}
3920
3921
char flip(char c) { return (c ==
'0'
) ?
'1'
:
'0'
; }
3922
3923
std::string twosComplement(std::string_view bin) {
3924
int32_t n = bin.length();
Callers
1
twosComplement
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected