Skip to content

Commit 6632131

Browse files
committed
Clarify mixed kind promotion is unspecified for divide notes
1 parent 0238246 commit 6632131

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/API_specification/array_object.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1250,7 +1250,7 @@ Element-wise results must equal the results returned by the equivalent element-w
12501250
Evaluates `self_i / other_i` for each element of an array instance with the respective element of the array `other`.
12511251

12521252
```{note}
1253-
If one or both of `self` and `other` have integer data types, the result is unspecified and thus implementation-dependent.
1253+
If one or both of `self` and `other` have integer data types, the result is unspecified and thus implementation-dependent (type promotion between data type “kinds” (integer versus floating-point) is unspecified).
12541254
```
12551255

12561256
#### Special Cases

spec/API_specification/elementwise_functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ For floating-point operands,
529529
Calculates the division for each element `x1_i` of the input array `x1` with the respective element `x2_i` of the input array `x2`.
530530

531531
```{note}
532-
If one or both of the input arrays have integer data types, the result is unspecified and thus implementation-dependent.
532+
If one or both of the input arrays have integer data types, the result is unspecified and thus implementation-dependent (type promotion between data type “kinds” (integer versus floating-point) is unspecified).
533533
```
534534

535535
#### Special Cases

0 commit comments

Comments
 (0)