def u32_saturating_add

bend-collections-laws-math@1.0.0.0 · proofs/math/number/proof.bend:84

import bend-collections-laws-math@1.0.0.0/proofs/math/number/proof.bend as Proof
import Base
import bend-collections-laws-math@1.0.0.0/spec/math/generic.bend as SG
import bend-collections-laws-math@1.0.0.0/spec/math/fixed.bend as SF
import bend-collections-laws-math@1.0.0.0/src/math/fixed.bend as F
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/fix32.bend as P32

84def u32_saturating_add(+a: U32, +b: U32) -> SF.SaturatingAdd.value(~U32, ~SG.u32_val, ~F.u32_saturating_add, 32n, a, b):
85  P32.saturating_add(a, b)

Uses (5)

Used by (0)

No other definition uses this definition.