mirror of
https://github.com/aicodix/dsp.git
synced 2026-04-27 14:30:36 +00:00
improved sentence about Kahan summation a bit
This commit is contained in:
parent
d08fb02393
commit
7041b750af
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue