Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BitVM/BitVM
/ double
Method
double
bitvm/src/bn254/fq6.rs:119–125 ·
view source on GitHub ↗
(a: u32)
Source
from the content-addressed store, hash-verified
117
}
118
119
pub fn double(a: u32) -> Script {
120
script! {
121
{ Fq2::double(a + 4) }
122
{ Fq2::double(a + 4) }
123
{ Fq2::double(a + 4) }
124
}
125
}
126
127
pub fn neg(a: u32) -> Script {
128
script! {
Callers
1
test_bn254_fq6_double
Function · 0.45
Calls
no outgoing calls
Tested by
1
test_bn254_fq6_double
Function · 0.36