Multiply

protocol Multiply<RHS>

Defines the * operator with independent right-hand and result types.

The protocol specifies dispatch shape only; overflow and precision behavior belong to each concrete conformance.

Methods

func multiply(_ rhs: RHS) -> Ret

Multiplies this value by the right-hand operand.

View Source
func multiply(_ rhs: RHS) -> Ret