From: Mark Dickinson Date: Fri, 20 Jun 2008 15:26:19 +0000 (+0000) Subject: Fix another typo in math_sum comment X-Git-Tag: v2.6b2~214 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2fcd8c97037d0a186e3eeae4680e764b55b59dcd;p=python Fix another typo in math_sum comment --- diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index 8ca632f759..5ff2f31a6a 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