def u64_saturating_mul

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

import bend-collections-laws-math@1.0.0.0/src/math/fixed.bend as Fixed
import Base
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as W
import bend-collections-laws-math@1.0.0.0/src/math/w64.bend as X

323def u64_saturating_mul(+a: W.U64, +b: W.U64) -> W.U64:
324  pick(W.U64, X.mul_over(a, b), u64_max(), X.mul(a, b))

Uses (5)

Used by (2)