Operator

/=(_:_:)

Divides the first value by the second and stores the quotient in the left-hand-side variable, rounding to a representable value.

Declaration

static func /= (lhs: inout Float, rhs: Float)

Parameters

lhs

The value to divide.

rhs

The value to divide lhs by.

Discussion

Relationships

From Protocol

See Also

Arithmetic with Assignment

static func += (inout Float, Float)

Adds two values and stores the result in the left-hand-side variable, rounded to a representable value.

static func -= (inout Float, Float)

Subtracts the second value from the first and stores the difference in the left-hand-side variable, rounding to a representable value.

static func *= (inout Float, Float)

Multiplies two values and stores the result in the left-hand-side variable, rounding to a representable value.