Skip to content

Commit b40ed89

Browse files
authored
Update to indicate that branch cuts follow C99 (#579)
1 parent bbd66fb commit b40ed89

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

spec/API_specification/array_api/elementwise_functions.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def acos(x: array, /) -> array:
8080
8181
Accordingly, for complex arguments, the function returns the inverse cosine in the range of a strip unbounded along the imaginary axis and in the interval :math:`[0, \pi]` along the real axis.
8282
83-
*Note: branch cuts have provisional status* (see :ref:`branch-cuts`).
83+
*Note: branch cuts follow C99 and have provisional status* (see :ref:`branch-cuts`).
8484
8585
Parameters
8686
----------
@@ -151,7 +151,7 @@ def acosh(x: array, /) -> array:
151151
152152
Accordingly, for complex arguments, the function returns the inverse hyperbolic cosine in the interval :math:`[0, \infty)` along the real axis and in the interval :math:`[-\pi j, +\pi j]` along the imaginary axis.
153153
154-
*Note: branch cuts have provisional status* (see :ref:`branch-cuts`).
154+
*Note: branch cuts follow C99 and have provisional status* (see :ref:`branch-cuts`).
155155
156156
Parameters
157157
----------
@@ -282,7 +282,7 @@ def asin(x: array, /) -> array:
282282
283283
Accordingly, for complex arguments, the function returns the inverse sine in the range of a strip unbounded along the imaginary axis and in the interval :math:`[-\pi/2, +\pi/2]` along the real axis.
284284
285-
*Note: branch cuts have provisional status* (see :ref:`branch-cuts`).
285+
*Note: branch cuts follow C99 and have provisional status* (see :ref:`branch-cuts`).
286286
287287
Parameters
288288
----------
@@ -334,7 +334,7 @@ def asinh(x: array, /) -> array:
334334
335335
Accordingly, for complex arguments, the function returns the inverse hyperbolic sine in the range of a strip unbounded along the real axis and in the interval :math:`[-\pi j/2, +\pi j/2]` along the imaginary axis.
336336
337-
*Note: branch cuts have provisional status* (see :ref:`branch-cuts`).
337+
*Note: branch cuts follow C99 and have provisional status* (see :ref:`branch-cuts`).
338338
339339
Parameters
340340
----------
@@ -393,7 +393,7 @@ def atan(x: array, /) -> array:
393393
394394
Accordingly, for complex arguments, the function returns the inverse tangent in the range of a strip unbounded along the imaginary axis and in the interval :math:`[-\pi/2, +\pi/2]` along the real axis.
395395
396-
*Note: branch cuts have provisional status* (see :ref:`branch-cuts`).
396+
*Note: branch cuts follow C99 and have provisional status* (see :ref:`branch-cuts`).
397397
398398
Parameters
399399
----------
@@ -501,7 +501,7 @@ def atanh(x: array, /) -> array:
501501
502502
Accordingly, for complex arguments, the function returns the inverse hyperbolic tangent in the range of a half-strip unbounded along the real axis and in the interval :math:`[-\pi j/2, +\pi j/2]` along the imaginary axis.
503503
504-
*Note: branch cuts have provisional status* (see :ref:`branch-cuts`).
504+
*Note: branch cuts follow C99 and have provisional status* (see :ref:`branch-cuts`).
505505
506506
Parameters
507507
----------
@@ -1351,7 +1351,7 @@ def log(x: array, /) -> array:
13511351
13521352
Accordingly, for complex arguments, the function returns the natural logarithm in the range of a strip in the interval :math:`[-\pi j, +\pi j]` along the imaginary axis and mathematically unbounded along the real axis.
13531353
1354-
*Note: branch cuts have provisional status* (see :ref:`branch-cuts`).
1354+
*Note: branch cuts follow C99 and have provisional status* (see :ref:`branch-cuts`).
13551355
13561356
Parameters
13571357
----------
@@ -1410,7 +1410,7 @@ def log1p(x: array, /) -> array:
14101410
14111411
Accordingly, for complex arguments, the function returns the natural logarithm in the range of a strip in the interval :math:`[-\pi j, +\pi j]` along the imaginary axis and mathematically unbounded along the real axis.
14121412
1413-
*Note: branch cuts have provisional status* (see :ref:`branch-cuts`).
1413+
*Note: branch cuts follow C99 and have provisional status* (see :ref:`branch-cuts`).
14141414
14151415
Parameters
14161416
----------
@@ -1797,7 +1797,7 @@ def pow(x1: array, x2: array, /) -> array:
17971797
17981798
The natural logarithm is a continuous function from above the branch cut, taking into account the sign of the imaginary component. As special cases involving complex floating-point operands should be handled according to ``exp(x2*log(x1))``, exponentiation has the same branch cut for ``x1`` as the natural logarithm (see :func:`~array_api.log`).
17991799
1800-
*Note: branch cuts have provisional status* (see :ref:`branch-cuts`).
1800+
*Note: branch cuts follow C99 and have provisional status* (see :ref:`branch-cuts`).
18011801
18021802
Parameters
18031803
----------
@@ -2153,7 +2153,7 @@ def sqrt(x: array, /) -> array:
21532153
21542154
Accordingly, for complex arguments, the function returns the square root in the range of the right half-plane, including the imaginary axis (i.e., the plane defined by :math:`[0, +\infty)` along the real axis and :math:`(-\infty, +\infty)` along the imaginary axis).
21552155
2156-
*Note: branch cuts have provisional status* (see :ref:`branch-cuts`).
2156+
*Note: branch cuts follow C99 and have provisional status* (see :ref:`branch-cuts`).
21572157
21582158
Parameters
21592159
----------

0 commit comments

Comments
 (0)