Skip to content

Commit 0238246

Browse files
committed
Make int inputs for divide functions out-of-scope
1 parent 85b5499 commit 0238246

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

spec/API_specification/array_object.md

+4
Original file line numberDiff line numberDiff line change
@@ -1249,6 +1249,10 @@ Element-wise results must equal the results returned by the equivalent element-w
12491249

12501250
Evaluates `self_i / other_i` for each element of an array instance with the respective element of the array `other`.
12511251

1252+
```{note}
1253+
If one or both of `self` and `other` have integer data types, the result is unspecified and thus implementation-dependent.
1254+
```
1255+
12521256
#### Special Cases
12531257

12541258
For floating-point operands, let `self` equal `x1` and `other` equal `x2`.

spec/API_specification/elementwise_functions.md

+4
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,10 @@ For floating-point operands,
528528

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

531+
```{note}
532+
If one or both of the input arrays have integer data types, the result is unspecified and thus implementation-dependent.
533+
```
534+
531535
#### Special Cases
532536

533537
For floating-point operands,

0 commit comments

Comments
 (0)