Skip to content
Snippets Groups Projects
Commit b66e0c80 authored by Sander Mathijs van Veen's avatar Sander Mathijs van Veen
Browse files

Inserted kahan_sum after sum.

parent ce4e062d
No related branches found
No related tags found
No related merge requests found
......@@ -153,7 +153,7 @@ Type & N & Forward & Backward & Kahan\\
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
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
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
......@@ -202,17 +202,17 @@ last : 2.6910298253667153112189680541632696986198425292968750000
% }}}
\section{kahan\_sum.c} % {{{
\label{sec:kahan_sum.c}
\section{sum.c} % {{{
\label{sec:sum.c}
\input{kahan_sum}
\input{sum}
% }}}
\section{sum.c} % {{{
\label{sec:sum.c}
\section{kahan\_sum.c} % {{{
\label{sec:kahan_sum.c}
\input{sum}
\input{kahan_sum}
% }}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment