Kahan summation algorithm

12212014, 08:52 AM
Post: #3




RE: Kahan summation algorithm
What I have never seen mentioned is the fact that this algorithm is meant for binary floating point. Try adding x=y= 1e122
You'll get s := 2e12 c := 2, while it should be 4 BTW my version reads: Code: *LBL "K+" same size. Werner 

« Next Oldest  Next Newest »

Messages In This Thread 
Kahan summation algorithm  Thomas Klemm  12192014, 09:12 PM
RE: Kahan summation algorithm  Gerald H  12202014, 09:47 AM
RE: Kahan summation algorithm  Werner  12212014 08:52 AM

User(s) browsing this thread: 1 Guest(s)