Skip to content

Clarify that the results of division operations on integer array data types resulting in floating-point outputs is implementation-defined #362

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 17, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions spec/API_specification/array_object.md
Original file line number Diff line number Diff line change
Expand Up @@ -1249,6 +1249,10 @@ Element-wise results must equal the results returned by the equivalent element-w

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

```{note}
If one or both of `self` and `other` have integer data types, the result is unspecified and thus implementation-dependent.
```

#### Special Cases

For floating-point operands, let `self` equal `x1` and `other` equal `x2`.
Expand Down
4 changes: 4 additions & 0 deletions spec/API_specification/elementwise_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,10 @@ For floating-point operands,

Calculates the division for each element `x1_i` of the input array `x1` with the respective element `x2_i` of the input array `x2`.

```{note}
If one or both of the input arrays have integer data types, the result is unspecified and thus implementation-dependent.
```

#### Special Cases

For floating-point operands,
Expand Down