Library / Numbers / Numeric contracts / Arithmetic
INTERFACE
Arithmetic
Arithmetic[T] — the contract that T is additive: an add(T),
subtract(T), and negate(), each closed over T. It is a named
constraint (e.g. for generic bounds), NOT an operator-derivation
mechanism.
Methods 3
METHOD add(REFERENCE T other) RETURNS Treads
METHOD subtract(REFERENCE T other) RETURNS Treads
METHOD negate() RETURNS Treads