summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2008-06-20 15:26:19 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2008-06-20 15:26:19 (GMT)
commit2fcd8c97037d0a186e3eeae4680e764b55b59dcd (patch)
tree66279ad470121dd601d5e51d2422a3356e785e9c
parentd303578a667ac157e73e454f73475dd6570e9ebf (diff)
downloadcpython-2fcd8c97037d0a186e3eeae4680e764b55b59dcd.zip
cpython-2fcd8c97037d0a186e3eeae4680e764b55b59dcd.tar.gz
cpython-2fcd8c97037d0a186e3eeae4680e764b55b59dcd.tar.bz2
Fix another typo in math_sum comment
-rw-r--r--Modules/mathmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c
index 8ca632f..5ff2f31 100644
--- a/Modules/mathmodule.c
+++ b/Modules/mathmodule.c
@@ -328,7 +328,7 @@ FUNC1(tanh, tanh, 0,
overflow of the first partial sum.
Note 3: The intermediate values lo, yr, and hi are declared volatile so
- aggressive compilers won't algebraicly reduce lo to always be exactly 0.0.
+ aggressive compilers won't algebraically reduce lo to always be exactly 0.0.
Also, the volatile declaration forces the values to be stored in memory as
regular doubles instead of extended long precision (80-bit) values. This
prevents double rounding because any addition or subtraction of two doubles