Skip to content

Commit 349a756

Browse files
committed
Update table entries
1 parent 7dd6e6b commit 349a756

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

spec/API_specification/array_api/array_object.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -988,11 +988,11 @@ def __truediv__(self: array, other: Union[int, float, array], /) -> array:
988988
+------------+----------------+-----------------+--------------------------+
989989
| | c | dj | c + dj |
990990
+============+================+=================+==========================+
991-
| **a** | a / c | -(a/d)j | implementation-dependent |
991+
| **a** | a / c | -(a/d)j | special rules |
992992
+------------+----------------+-----------------+--------------------------+
993-
| **bj** | (b/c)j | b/d | implementation-dependent |
993+
| **bj** | (b/c)j | b/d | special rules |
994994
+------------+----------------+-----------------+--------------------------+
995-
| **a + bj** | (a/c) + (b/c)j | b/d - (a/d)j | implementation-dependent |
995+
| **a + bj** | (a/c) + (b/c)j | b/d - (a/d)j | special rules |
996996
+------------+----------------+-----------------+--------------------------+
997997
998998
In general, for complex floating-point operands, real-valued floating-point special cases must independently apply to the real and imaginary component operations involving real numbers as described in the above table.

spec/API_specification/array_api/elementwise_functions.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -760,11 +760,11 @@ def divide(x1: array, x2: array, /) -> array:
760760
+------------+----------------+-----------------+--------------------------+
761761
| | c | dj | c + dj |
762762
+============+================+=================+==========================+
763-
| **a** | a / c | -(a/d)j | implementation-dependent |
763+
| **a** | a / c | -(a/d)j | special rules |
764764
+------------+----------------+-----------------+--------------------------+
765-
| **bj** | (b/c)j | b/d | implementation-dependent |
765+
| **bj** | (b/c)j | b/d | special rules |
766766
+------------+----------------+-----------------+--------------------------+
767-
| **a + bj** | (a/c) + (b/c)j | b/d - (a/d)j | implementation-dependent |
767+
| **a + bj** | (a/c) + (b/c)j | b/d - (a/d)j | special rules |
768768
+------------+----------------+-----------------+--------------------------+
769769
770770
In general, for complex floating-point operands, real-valued floating-point special cases must independently apply to the real and imaginary component operations involving real numbers as described in the above table.

0 commit comments

Comments
 (0)