def S32.mul_ov.go

bend-kit-int@0.2.0.0 · int.bend:649

import bend-kit-int@0.2.0.0/int.bend as Int
import Base

649def S32.mul_ov.go(+a: U32, +b: U32, +r: U32) -> Bool & U32:
650  (Bool.or(Bool.and(Bool.not(U32.is_zero(b)),
651    Bool.not(U32.is_eq(S32.div(r, b), a))), S32.min_neg1(a, b)), r)

Uses (11)

Used by (1)