From 2fcd8c97037d0a186e3eeae4680e764b55b59dcd Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Fri, 20 Jun 2008 15:26:19 +0000 Subject: [PATCH] Fix another typo in math_sum comment --- Modules/mathmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/mathmodule.c b/Modules/mathmodule.c index 8ca632f7591..5ff2f31a6a3 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