Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
hinted_check_tangent_line
Function · 0.45
hinted_check_tangent_line_keep_elements
Function · 0.45
test_hinted_check_line_through_point
Function · 0.45
test_hinted_affine_double_line
Function · 0.45
test_hinted_check_tangent_line
Function · 0.45
test_hinted_check_tangent_line_keep_elements
Function · 0.45
test_div2
Function · 0.45
test_div3
Function · 0.45
test_div2
Function · 0.45
test_div3
Function · 0.45
test_bn254_fq2_double
Function · 0.45
test_bn254_fq2_triple
Function · 0.45
Calls
no outgoing calls
Tested by
14
test_hinted_check_line_through_point
Function · 0.36
test_hinted_affine_double_line
Function · 0.36
test_hinted_check_tangent_line
Function · 0.36
test_hinted_check_tangent_line_keep_elements
Function · 0.36
test_div2
Function · 0.36
test_div3
Function · 0.36
test_div2
Function · 0.36
test_div3
Function · 0.36
test_bn254_fq2_double
Function · 0.36
test_bn254_fq2_triple
Function · 0.36
test_bn254_fq2_div2
Function · 0.36
test_bn254_fq2_div3
Function · 0.36