Instance Method

addProduct(_:_:)

Adds the product of the two given values to this value in place, computed without intermediate rounding.

Required.

Declaration

mutating func addProduct(_ lhs: Self, _ rhs: Self)

Parameters

lhs

One of the values to multiply before adding to this value.

rhs

The other value to multiply.