Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/docknetwork/crypto
/ base_bits
Function
base_bits
bulletproofs_plus_plus/src/util.rs:2–4 ·
view source on GitHub ↗
Number of bits in `base`
(base: u16)
Source
from the content-addressed store, hash-verified
1
/// Number of bits in `base`
2
pub fn base_bits(base: u16) -> u16 {
3
base.ilog2() as u16
4
}
Callers
5
get_no_of_G
Method · 0.85
new_with_given_base
Method · 0.85
num_digits_per_proof
Method · 0.85
round_1
Method · 0.85
verify
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected