<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>hi,</p>
<p>working on a simulation patch i've difficulties with wrong results from additions.</p>
<p>in a periodic loop a [value V] is added up with a constant.</p>
<p>a simplified version:</p>
<p>[t b] - [v V] - [+ 0.0025] - [v V]</p>
<p><br /></p>
<p>it starts at 0.</p>
<p>looking at the numbers when put in an array i see that e.g.</p>
<p>the value that should be 0.1250 is actually 0.1249999</p>
<p>and 0.75 is actually 0.7499994.</p>
<p>in the loop this variable is used for calculations which multiply the deviations.</p>
<p><br /></p>
<p>why does this simple addition not giving the exact result?</p>
<p><br /></p>
<p>rolf</p>

</body></html>