Commit 3a8677b7 authored by Mark Dickinson's avatar Mark Dickinson

Issue #21902: Replace incorrect 'hyperbolic arc sine' (etc.) with 'inverse...

Issue #21902: Replace incorrect 'hyperbolic arc sine' (etc.) with 'inverse hyperbolic sine' (etc.).  Remove meaningless reference to radians.
parent 652f606e
...@@ -161,13 +161,13 @@ Hyperbolic functions ...@@ -161,13 +161,13 @@ Hyperbolic functions
.. function:: acosh(x) .. function:: acosh(x)
Return the hyperbolic arc cosine of *x*. There is one branch cut, extending left Return the inverse hyperbolic cosine of *x*. There is one branch cut,
from 1 along the real axis to -∞, continuous from above. extending left from 1 along the real axis to -∞, continuous from above.
.. function:: asinh(x) .. function:: asinh(x)
Return the hyperbolic arc sine of *x*. There are two branch cuts: Return the inverse hyperbolic sine of *x*. There are two branch cuts:
One extends from ``1j`` along the imaginary axis to ``∞j``, One extends from ``1j`` along the imaginary axis to ``∞j``,
continuous from the right. The other extends from ``-1j`` along continuous from the right. The other extends from ``-1j`` along
the imaginary axis to ``-∞j``, continuous from the left. the imaginary axis to ``-∞j``, continuous from the left.
...@@ -178,7 +178,7 @@ Hyperbolic functions ...@@ -178,7 +178,7 @@ Hyperbolic functions
.. function:: atanh(x) .. function:: atanh(x)
Return the hyperbolic arc tangent of *x*. There are two branch cuts: One Return the inverse hyperbolic tangent of *x*. There are two branch cuts: One
extends from ``1`` along the real axis to ``∞``, continuous from below. The extends from ``1`` along the real axis to ``∞``, continuous from below. The
other extends from ``-1`` along the real axis to ``-∞``, continuous from other extends from ``-1`` along the real axis to ``-∞``, continuous from
above. above.
......
...@@ -192,7 +192,7 @@ c_acosh(Py_complex z) ...@@ -192,7 +192,7 @@ c_acosh(Py_complex z)
PyDoc_STRVAR(c_acosh_doc, PyDoc_STRVAR(c_acosh_doc,
"acosh(x)\n" "acosh(x)\n"
"\n" "\n"
"Return the hyperbolic arccosine of x."); "Return the inverse hyperbolic cosine of x.");
static Py_complex static Py_complex
...@@ -249,7 +249,7 @@ c_asinh(Py_complex z) ...@@ -249,7 +249,7 @@ c_asinh(Py_complex z)
PyDoc_STRVAR(c_asinh_doc, PyDoc_STRVAR(c_asinh_doc,
"asinh(x)\n" "asinh(x)\n"
"\n" "\n"
"Return the hyperbolic arc sine of x."); "Return the inverse hyperbolic sine of x.");
static Py_complex static Py_complex
...@@ -353,7 +353,7 @@ c_atanh(Py_complex z) ...@@ -353,7 +353,7 @@ c_atanh(Py_complex z)
PyDoc_STRVAR(c_atanh_doc, PyDoc_STRVAR(c_atanh_doc,
"atanh(x)\n" "atanh(x)\n"
"\n" "\n"
"Return the hyperbolic arc tangent of x."); "Return the inverse hyperbolic tangent of x.");
static Py_complex static Py_complex
......
...@@ -809,18 +809,18 @@ math_2(PyObject *args, double (*func) (double, double), char *funcname) ...@@ -809,18 +809,18 @@ math_2(PyObject *args, double (*func) (double, double), char *funcname)
FUNC1(acos, acos, 0, FUNC1(acos, acos, 0,
"acos(x)\n\nReturn the arc cosine (measured in radians) of x.") "acos(x)\n\nReturn the arc cosine (measured in radians) of x.")
FUNC1(acosh, m_acosh, 0, FUNC1(acosh, m_acosh, 0,
"acosh(x)\n\nReturn the hyperbolic arc cosine (measured in radians) of x.") "acosh(x)\n\nReturn the inverse hyperbolic cosine of x.")
FUNC1(asin, asin, 0, FUNC1(asin, asin, 0,
"asin(x)\n\nReturn the arc sine (measured in radians) of x.") "asin(x)\n\nReturn the arc sine (measured in radians) of x.")
FUNC1(asinh, m_asinh, 0, FUNC1(asinh, m_asinh, 0,
"asinh(x)\n\nReturn the hyperbolic arc sine (measured in radians) of x.") "asinh(x)\n\nReturn the inverse hyperbolic sine of x.")
FUNC1(atan, atan, 0, FUNC1(atan, atan, 0,
"atan(x)\n\nReturn the arc tangent (measured in radians) of x.") "atan(x)\n\nReturn the arc tangent (measured in radians) of x.")
FUNC2(atan2, m_atan2, FUNC2(atan2, m_atan2,
"atan2(y, x)\n\nReturn the arc tangent (measured in radians) of y/x.\n" "atan2(y, x)\n\nReturn the arc tangent (measured in radians) of y/x.\n"
"Unlike atan(y/x), the signs of both x and y are considered.") "Unlike atan(y/x), the signs of both x and y are considered.")
FUNC1(atanh, m_atanh, 0, FUNC1(atanh, m_atanh, 0,
"atanh(x)\n\nReturn the hyperbolic arc tangent (measured in radians) of x.") "atanh(x)\n\nReturn the inverse hyperbolic tangent of x.")
FUNC1(ceil, ceil, 0, FUNC1(ceil, ceil, 0,
"ceil(x)\n\nReturn the ceiling of x as a float.\n" "ceil(x)\n\nReturn the ceiling of x as a float.\n"
"This is the smallest integral value >= x.") "This is the smallest integral value >= x.")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment