Skip to content

Commit

Permalink
Fix error in remainder (#253)
Browse files Browse the repository at this point in the history
It stated that the return type should be floating-point, but it accepts
integer inputs (and the remainder of two integers is always an integer).
  • Loading branch information
asmeurer authored Sep 13, 2021
1 parent fa99036 commit 378255c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/API_specification/elementwise_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@ Returns the remainder of division for each element `x1_i` of the input array `x1

- **out**: _<array>_

- an array containing the element-wise results. Each element-wise result must have the same sign as the respective element `x2_i`. The returned array must have a floating-point data type determined by {ref}`type-promotion`.
- an array containing the element-wise results. Each element-wise result must have the same sign as the respective element `x2_i`. The returned array must have a data type determined by {ref}`type-promotion`.

(function-round)=
### round(x, /)
Expand Down

0 comments on commit 378255c

Please sign in to comment.