Inserted kahan_sum after sum.

parent ce4e062d
...@@ -153,7 +153,7 @@ Type & N & Forward & Backward & Kahan\\ ...@@ -153,7 +153,7 @@ Type & N & Forward & Backward & Kahan\\
implemented the Kahan summation algorithm. This algorithm basically divides the implemented the Kahan summation algorithm. This algorithm basically divides the
summation in a higher- and lower-order part. The lower-order part is used to summation in a higher- and lower-order part. The lower-order part is used to
compensate for the error at each summation. See compensate for the error at each summation. See
\url{http://en.wikipedia.org/wiki/Kahan\_summation\_algorithm} for more \url{http://en.wikipedia.org/wiki/Kahan_summation_algorithm} for more
information about this algorithm. The results are in the last column as the information about this algorithm. The results are in the last column as the
table, we can see that the algorithm yields the correct number. We know this table, we can see that the algorithm yields the correct number. We know this
because they are equal to the result of the \texttt{double} summations (but because they are equal to the result of the \texttt{double} summations (but
...@@ -202,17 +202,17 @@ last : 2.6910298253667153112189680541632696986198425292968750000 ...@@ -202,17 +202,17 @@ last : 2.6910298253667153112189680541632696986198425292968750000
% }}} % }}}
\section{kahan\_sum.c} % {{{ \section{sum.c} % {{{
\label{sec:kahan_sum.c} \label{sec:sum.c}
\input{kahan_sum} \input{sum}
% }}} % }}}
\section{sum.c} % {{{ \section{kahan\_sum.c} % {{{
\label{sec:sum.c} \label{sec:kahan_sum.c}
\input{sum} \input{kahan_sum}
% }}} % }}}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment