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