Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PolyhedraZK/ExpanderCompilerCollection
/ fromMyBitForm
Function
fromMyBitForm
ecgo/examples/keccak_full/main.go:94–96 ·
view source on GitHub ↗
(api frontend.API, x frontend.Variable)
Source
from the content-addressed store, hash-verified
92
}
93
94
func
fromMyBitForm(api frontend.API, x frontend.Variable) frontend.Variable {
95
return
api.Div(api.Sub(1, x), 2)
96
}
97
98
func
toMyBitForm(x int) int {
99
if
x == 0 {
Callers
1
checkBits
Function · 0.70
Calls
2
Div
Method · 0.80
Sub
Method · 0.45
Tested by
no test coverage detected