Closed
Description
The wording for in-place operators may be more explicit to warn users that in-place operations, e.g., x1 += x2
, where Type Promotion Rules require x1 + x2
to have data type different from data type of x1
are implementation defined.
Present wording hints at it:
For example, after in-place addition
x1 += x2
, the modified arrayx1
must always equal the result of the equivalent binary arithmetic operationx1 = x1 + x2
.
but states that result of the in-place operation must "equal" the result of the out-of-place operation and the equality may hold true for arrays of different data types.