def wv.Q

bend-osdev-word64@0.1.1.0 · proof_value.bend:262

import bend-osdev-word64@0.1.1.0/proof_value.bend as ProofValue
import Base
import bend-osdev-u32@0.1.0.0/u32.bend as U

262# x * 2^(2n), the weight of a carry out of the high half
263def wv.Q(+n: Nat, x: Nat) -> Nat:
264  U.U32Nat.dbl(n, U.U32Nat.dbl(n, x))

Uses (2)

Used by (19)