def U16.checked_mul

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

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

970def U16.checked_mul(a: U16, b: U16) -> Maybe<&2, U16>:
971  match a b:
972    case U16{x} U16{y}:
973      U16.some(Nar.over(65535, U32.mul(x, y)))

Uses (5)

Used by (0)

No other definition uses this definition.