def bit_length
import bend-collections-laws-math@1.0.0.0/src/math/natural.bend as Naturalimport Base
166def bit_length(+n: Nat) -> Nat:
167 bit_length_go(n, n, 0n)
Uses (2)
Used by (109)
- bend-collections-laws-math@1.0.0.0/spec/math/f64:round
- bend-collections-laws-math@1.0.0.0/src/math/natural:isqrt
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64bl:bl_le
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64rtools:bl_fit
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64bl:bl_pos
- …