Skip to content

Commit 378255c

Browse files
authored
Fix error in remainder (#253)
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).
1 parent fa99036 commit 378255c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/API_specification/elementwise_functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1225,7 +1225,7 @@ Returns the remainder of division for each element `x1_i` of the input array `x1
12251225

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

1228-
- 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`.
1228+
- 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`.
12291229

12301230
(function-round)=
12311231
### round(x, /)

0 commit comments

Comments
 (0)