summaryrefslogtreecommitdiffstats
path: root/Modules/_math.c
diff options
context:
space:
mode:
authorŁukasz Langa <lukasz@langa.pl>2021-09-22 15:32:04 (GMT)
committerGitHub <noreply@github.com>2021-09-22 15:32:04 (GMT)
commit5482db5800d195d43d1e13e8c05e21c708dcfa50 (patch)
tree13bc31769af0ad38c3c19396563cf3163dd1813f /Modules/_math.c
parent09390c837a0bf73e213db2fbde34d756fa77a837 (diff)
downloadcpython-5482db5800d195d43d1e13e8c05e21c708dcfa50.zip
cpython-5482db5800d195d43d1e13e8c05e21c708dcfa50.tar.gz
cpython-5482db5800d195d43d1e13e8c05e21c708dcfa50.tar.bz2
[3.9] [codemod] Fix non-matching bracket pairs (GH-28473) (GH-28512)
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)))
*/