🔢Numbers
Numeric protocols
supports
AdditiveArithmetic
a + b, a - b, .zero
Numeric
a * b
SignedNumeric
-a
(additive inverse)
FloatingPoint
a / b, a < b
Int(a)
Last updated
Was this helpful?
AdditiveArithmetic
a + b, a - b, .zero
Numeric
a * b
SignedNumeric
-a
(additive inverse)
FloatingPoint
a / b, a < b
Int(a)
Last updated
Was this helpful?