MCPcopy 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`
2pub fn base_bits(base: u16) -> u16 {
3 base.ilog2() as u16
4}

Callers 5

get_no_of_GMethod · 0.85
new_with_given_baseMethod · 0.85
num_digits_per_proofMethod · 0.85
round_1Method · 0.85
verifyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected