def BitLength.lt

bend-collections-laws-crypto@1.0.0.0 · spec/math/natural.bend:244

import bend-collections-laws-crypto@1.0.0.0/spec/math/natural.bend as Natural
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/lib/common.bend as C
import bend-collections-laws-crypto@1.0.0.0/src/math/natural.bend as M

244def BitLength.lt(+n: Nat) -> Type:
245  {Nat.is_lt(n, C.pow2(M.bit_length(n))) == True{} : Bool}

Uses (5)

Used by (1)