summaryrefslogtreecommitdiffstats
path: root/Modules/_math.c
diff options
context:
space:
mode:
authorŁukasz Langa <lukasz@langa.pl>2021-09-21 23:33:59 (GMT)
committerGitHub <noreply@github.com>2021-09-21 23:33:59 (GMT)
commit8c1e1da565bca9cec792323eb728e288715ef7c4 (patch)
tree4b78b148f1e5573f68ca0150838a2d80d48cde7f /Modules/_math.c
parentc800e390941e91a9a276191d2f41b7e0e6e23e9e (diff)
downloadcpython-8c1e1da565bca9cec792323eb728e288715ef7c4.zip
cpython-8c1e1da565bca9cec792323eb728e288715ef7c4.tar.gz
cpython-8c1e1da565bca9cec792323eb728e288715ef7c4.tar.bz2
[3.10] [codemod] Fix non-matching bracket pairs (GH-28473) (GH-28511)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 8f943ca25732d548cf9f0b0393ba8d582fb93e29) Co-authored-by: Mohamad Mansour <66031317+mohamadmansourX@users.noreply.github.com>
Diffstat (limited to 'Modules/_math.c')
-rw-r--r--Modules/_math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_math.c b/Modules/_math.c
index 02d8f1c..68e3a23 100644
--- a/Modules/_math.c
+++ b/Modules/_math.c
@@ -90,7 +90,7 @@ _Py_acosh(double x)
* asinh(x) = sign(x) * log [ |x| + sqrt(x*x+1) ]
* we have
* asinh(x) := x if 1+x*x=1,
- * := sign(x)*(log(x)+ln2)) for large |x|, else
+ * := sign(x)*(log(x)+ln2) for large |x|, else
* := sign(x)*log(2|x|+1/(|x|+sqrt(x*x+1))) if|x|>2, else
* := sign(x)*log1p(|x| + x^2/(1 + sqrt(1+x^2)))
*/