def bit_length
import bend-collections-laws-math@1.0.0.0/src/math/generic.bend as Genericimport Base
import bend-collections-laws-math@1.0.0.0/src/math/num.bend as N
358def bit_length(~T: Data, ~op: N.Op<T> -> T, ~test: N.Test<T> -> Bool, +n: T) -> Nat:
359 bit_length_go(~T, ~op, ~test, fuel(), 0n, zst(~T, ~test, n))
Uses (7)
Used by (6)
- bend-collections-laws-math@1.0.0.0/src/math/generic:iroot_k
- bend-collections-laws-math@1.0.0.0/spec/math/generic:BitLength.agrees
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32int:bit_length_k
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64int:bit_length_k
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32int:iroot_big
- …