def u32_saturating_add

bend-collections-laws-math@1.0.0.0 · src/math/fixed.bend:88

import bend-collections-laws-math@1.0.0.0/src/math/fixed.bend as Fixed
import Base

88def u32_saturating_add(+a: U32, +b: U32) -> U32:
89  pick(U32, u32_add_over(a, b), u32_max(), U32.add(a, b))

Uses (5)

Used by (2)