def wv.V

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

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

258# lo + 2^n * hi
259def wv.V(+n: Nat, h: Word(n), l: Word(n)) -> Nat:
260  Nat.add(Word.to_nat(n, l), U.U32Nat.dbl(n, Word.to_nat(n, h)))

Uses (5)

Used by (28)