MCPcopy Create free account
hub / github.com/BitVM/BitVM / double

Method double

bitvm/src/bn254/fq2.rs:119–124  ·  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 { Fq::double(a + 1) }
122 { Fq::double(a + 1) }
123 }
124 }
125
126 pub fn triple(a: u32) -> Script {
127 script! {

Callers 15

test_div2Function · 0.45
test_div3Function · 0.45
test_div2Function · 0.45
test_div3Function · 0.45
test_bn254_fq2_doubleFunction · 0.45
test_bn254_fq2_tripleFunction · 0.45

Calls

no outgoing calls

Tested by 14

test_div2Function · 0.36
test_div3Function · 0.36
test_div2Function · 0.36
test_div3Function · 0.36
test_bn254_fq2_doubleFunction · 0.36
test_bn254_fq2_tripleFunction · 0.36
test_bn254_fq2_div2Function · 0.36
test_bn254_fq2_div3Function · 0.36