Skip to content

Commit de4e2e0

Browse files
committed
MAINT: fix a typo in a special case of sqrt
1 parent 3a801d3 commit de4e2e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/array_api_stubs/_draft/elementwise_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2873,7 +2873,7 @@ def sqrt(x: array, /) -> array:
28732873
- If ``a`` is any value (including ``NaN``) and ``b`` is ``+infinity``, the result is ``+infinity + infinity j``.
28742874
- If ``a`` is a finite number and ``b`` is ``NaN``, the result is ``NaN + NaN j``.
28752875
- If ``a`` ``-infinity`` and ``b`` is a positive (i.e., greater than ``0``) finite number, the result is ``NaN + NaN j``.
2876-
- If ``a`` is ``+infinity`` and ``b`` is a positive (i.e., greater than ``0``) finite number, the result is ``+0 + infinity j``.
2876+
- If ``a`` is ``+infinity`` and ``b`` is a positive (i.e., greater than ``0``) finite number, the result is ``+infinity + 0 j``.
28772877
- If ``a`` is ``-infinity`` and ``b`` is ``NaN``, the result is ``NaN + infinity j`` (sign of the imaginary component is unspecified).
28782878
- If ``a`` is ``+infinity`` and ``b`` is ``NaN``, the result is ``+infinity + NaN j``.
28792879
- If ``a`` is ``NaN`` and ``b`` is any value, the result is ``NaN + NaN j``.

0 commit comments

Comments
 (0)