From 7041b750af3647f2cec671f5cdcbf634d975b3f9 Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Sat, 3 Mar 2018 12:51:42 +0100 Subject: [PATCH] improved sentence about Kahan summation a bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 213b9b5..ade8f65 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ What we have included so far: ### [kahan.hh](kahan.hh) When working with [Floating-point arithmetic](https://en.wikipedia.org/wiki/Floating-point_arithmetic) we soon realize, that addition is not necessarily [associative](https://en.wikipedia.org/wiki/Associative_property). -Whenever we need to add numbers with an ever decreasing magnitude to an sum (of the previous numbers) with an ever increasing magnitude, the [Kahan summation algorithm](https://en.wikipedia.org/wiki/Kahan_summation_algorithm) comes in handy and helps keeping the error growth small. +For example, whenever we need to add values with an ever decreasing magnitude to a running sum with an ever increasing magnitude, the [Kahan summation algorithm](https://en.wikipedia.org/wiki/Kahan_summation_algorithm) comes in handy and helps keeping the error growth small. ### [window.hh](window.hh)