DivisibleArithmetic
public protocol DivisibleArithmetic : Numeric
A type with values that support division.
-
Divides two values.
Declaration
Swift
static func / (lhs: Self, rhs: Self) -> Self
Parameters
lhs
The dividend.
rhs
The divisor.
-
Divides two values and stores the result in the left-hand-side variable.
Declaration
Swift
static func /= (lhs: inout Self, rhs: Self)
Parameters
lhs
The dividend.
rhs
The divisor.