diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2008-06-20 15:26:19 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2008-06-20 15:26:19 (GMT) |
commit | 2fcd8c97037d0a186e3eeae4680e764b55b59dcd (patch) | |
tree | 66279ad470121dd601d5e51d2422a3356e785e9c /Modules/mathmodule.c | |
parent | d303578a667ac157e73e454f73475dd6570e9ebf (diff) | |
download | cpython-2fcd8c97037d0a186e3eeae4680e764b55b59dcd.zip cpython-2fcd8c97037d0a186e3eeae4680e764b55b59dcd.tar.gz cpython-2fcd8c97037d0a186e3eeae4680e764b55b59dcd.tar.bz2 |
Fix another typo in math_sum comment
Diffstat (limited to 'Modules/mathmodule.c')
-rw-r--r-- | Modules/mathmodule.c | 2 |
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 |