Fix comment typos

This commit is contained in:
Andrew M. Kuchling 2008-06-20 02:11:42 +00:00
parent d6b1eaf428
commit 5f198bee4e
1 changed files with 2 additions and 2 deletions

View File

@ -327,11 +327,11 @@ FUNC1(tanh, tanh, 0,
sum([1e+308, 1e+308, 1e-308]) raises an OverflowError due to the sum([1e+308, 1e+308, 1e-308]) raises an OverflowError due to the
overflow of the first partial sum. 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. 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 Also, the volatile declaration forces the values to be stored in memory as
regular doubles instead of extended long precision (80-bit) values. This 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 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 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 bits in downstream extended precision operations (x87 for example) will be