Hi Michael<br><br><div><span class="gmail_quote">On 8/12/07, <b class="gmail_sendername">Michael Niedermayer</b> &lt;<a href="mailto:michaelni@gmx.at">michaelni@gmx.at</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi<br><br>be carefull with == checks and floating point variables<br>this can fail in cases like<br>140.499999 != 140.5<br><br>(i guess its written in the spec like that but its silly, likely the mere use<br>of floats and doubles is silly but i dunno qcelp well enough to say for sure
<br>if it could be done easily without floats and doubles)<br><br>PS: yes, if things can easily be done with fixed point variables they should<br>instead of using floats</blockquote><div><br>Thanks. Yeah, I somewhat know its unreliable/dangerous. I&#39;ll double
<br>check.<br><br>&nbsp;&nbsp;&nbsp;&nbsp; Reynaldo<br></div><br></div><br>