diff Modules/mathmodule.c @ 47777:c39263e94c33 legacy-trunk

Fix comment typos
author Andrew M. Kuchling <amk@amk.ca>
date Fri, 20 Jun 2008 02:11:42 +0000
parents 564c29a0fab1
children a7186fee7596
line wrap: on
line diff
--- a/Modules/mathmodule.c	Fri Jun 20 02:05:57 2008 +0000
+++ b/Modules/mathmodule.c	Fri Jun 20 02:11:42 2008 +0000
@@ -327,11 +327,11 @@
    sum([1e+308, 1e+308, 1e-308]) raises an OverflowError due to the
    overflow of the first partial sum.
 
-   Note 3: The itermediate values lo, yr, and hi are declared volatile so
+   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.
    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 substraction of two doubles
+   prevents double rounding because any addition or subtraction of two doubles
    can be resolved exactly into double-sized hi and lo values.  As long as the 
    hi value gets forced into a double before yr and lo are computed, the extra
    bits in downstream extended precision operations (x87 for example) will be