-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
MaintenanceBug fix, typo fix, or general maintenance.Bug fix, typo fix, or general maintenance.Narrative ContentNarrative documentation content.Narrative documentation content.topic: Type PromotionType promotion.Type promotion.
Milestone
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.
Metadata
Metadata
Assignees
Labels
MaintenanceBug fix, typo fix, or general maintenance.Bug fix, typo fix, or general maintenance.Narrative ContentNarrative documentation content.Narrative documentation content.topic: Type PromotionType promotion.Type promotion.