Talk:Kahan summation: Difference between revisions

Content added Content deleted
No edit summary
Line 1: Line 1:
==Task - The problem is badly formulated==
==Task - The problem is badly formulated==


Rounding errors do not occur because we use a certain number of digits after the decimal point. The source of the errors is the floating point representation of decimal fractions. As you can see, when using fixed point representation, there are no rounding errors.
Rounding errors in sums do not occur because we use a certain number of digits after the decimal point. The source of the such errors is the '''floating point''' representation of decimal fractions. As you can see, when using '''fixed point''' representation, there are no rounding errors.
<lang C>
<lang C>
/*
/*