Skip to content

Commit 9908911

Browse files
committed
Fix cis argument
1 parent 2b5028c commit 9908911

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/API_specification/array_api/elementwise_functions.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -536,12 +536,12 @@ def exp(x: array, /) -> array:
536536
.. note::
537537
For complex floating-point operands, ``exp(conj(x))`` must equal ``conj(exp(x))``.
538538
539-
- If ``a`` is either ``+0`` or ``-0`` and ``b`` is ``+0``, the result is ``1+0j``.
539+
- If ``a`` is either ``+0`` or ``-0`` and ``b`` is ``+0``, the result is ``1 + 0j``.
540540
- If ``a`` is a finite number and ``b`` is ``+infinity``, the result is ``NaN + NaN j``.
541541
- If ``a`` is a finite number and ``b`` is ``NaN``, the result is ``NaN + NaN j``.
542542
- If ``a`` is ``+infinity`` and ``b`` is ``+0``, the result is ``infinity + 0j``.
543-
- If ``a`` is ``-infinity`` and ``b`` is a finite number, the result is ``+0 * cis(x_i)``.
544-
- If ``a`` is ``+infinity`` and ``b`` is a nonzero finite number, the result is ``+infinity * cis(x_i)``.
543+
- If ``a`` is ``-infinity`` and ``b`` is a finite number, the result is ``+0 * cis(b)``.
544+
- If ``a`` is ``+infinity`` and ``b`` is a nonzero finite number, the result is ``+infinity * cis(b)``.
545545
- If ``a`` is ``-infinity`` and ``b`` is ``+infinity``, the result is ``0 + 0j`` (signs of real and imaginary components are unspecified).
546546
- If ``a`` is ``+infinity`` and ``b`` is ``+infinity``, the result is ``infinity + NaN j`` (sign of real component is unspecified).
547547
- If ``a`` is ``-infinity`` and ``b`` is ``NaN``, the result is ``0 + 0j`` (signs of real and imaginary components are unspecified).

0 commit comments

Comments
 (0)