Library / Numbers / Numeric contracts / Multiplier
INTERFACE
Multiplier
Multiplier[T] — the contract that T supports multiply(T) and
divide(T). Sister to Arithmetic[T]; separated because not every
additive type multiplies (e.g. Date types add a Duration but have no
meaningful multiplication). Like Arithmetic, this is a constraint,
NOT operator-derivation.
Methods 2
METHOD multiply(REFERENCE T other) RETURNS Treads
METHOD divide(REFERENCE T other) RETURNS Treads