def add_over
import bend-collections-laws-crypto@1.0.0.0/src/math/w64.bend as W64import Base
import bend-collections-laws-crypto@1.0.0.0/src/math/u64.bend as W
66# a + b >= 2^64
67def add_over(+a: W.U64, +b: W.U64) -> Bool:
68 add_over_fin(U32.add(hi(a), hi(b)), hi(a), U32.is_lt(U32.add(lo(a), lo(b)), lo(a)))
Uses (7)
Used by (7)
- bend-collections-laws-crypto@1.0.0.0/proofs/math/typed/w64m128:m128_value
- bend-collections-laws-crypto@1.0.0.0/proofs/math/typed/w64m128:add_split
- bend-collections-laws-crypto@1.0.0.0/spec/math/w64:AddOver.value
- bend-collections-laws-crypto@1.0.0.0/src/math/random/pcg:step_fin
- bend-collections-laws-crypto@1.0.0.0/src/math/w64:mul128_mid
- …