def U16.mul

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

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

930def U16.mul(a: U16, b: U16) -> U16:
931  match a b:
932    case U16{x} U16{y}:
933      U16{U32.and(U32.mul(x, y), 65535)}

Uses (3)

Used by (0)

No other definition uses this definition.