def add
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as U64import Base
36# Wrapping 64-bit addition.
37def add(a: U64, b: U64) -> U64:
38 U64{+alo, +ahi} = a
39 U64{+blo, +bhi} = b
40 add_fin(U32.add(alo, blo), alo, ahi, bhi)
Uses (3)
Used by (5)
- bend-collections-laws-math@1.0.0.0/proofs/math/u64/u64:add
- bend-collections-laws-math@1.0.0.0/proofs/math/u64/u64:add_value
- bend-collections-laws-math@1.0.0.0/spec/math/u64:Add.bits
- bend-collections-laws-math@1.0.0.0/spec/math/u64:Add.modular
- bend-collections-laws-math@1.0.0.0/proofs/math/proof:u64_add_modular