def mask
import bend-collections-laws-math@1.0.0.0/proofs/lib/word.bend as Wordimport Base
import bend-collections-laws-math@1.0.0.0/spec/lib/numeric.bend as SNUM
250# the low k bits set
251def mask(+n: Nat, +k: Nat) -> Word(n):
252 SNUM.mask(n, k)
Uses (3)
Used by (72)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64bits:andm
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64bits:ef_g
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64sqrt:mask_v
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64bits:fz_g
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64sqrt:m16
- …