<br><br><div class="gmail_quote">On Mon, Sep 20, 2010 at 7:56 AM, Levente Uzonyi <span dir="ltr">&lt;<a href="mailto:leves@elte.hu">leves@elte.hu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hi!<br>
<br>
<br>
I downloaded the prebuilt CogVM from <a href="http://www.mirandabanda.org/files/Cog/VM/VM.r2310/" target="_blank">http://www.mirandabanda.org/files/Cog/VM/VM.r2310/</a> for Windows and found that 0.0 has strange behavior:<br>

<br>
0.0 negative. &quot;true&quot;<br>
0.0 &lt; 0. &quot;true&quot;<br>
0.0 as: WordArray. &quot;a WordArray(0 0)&quot;<br>
<br>
while in SqueakVM<br>
<br>
0.0 negative. &quot; false&quot;<br>
0.0 &lt; 0. &quot;false&quot;<br>
0.0 as: WordArray. &quot;a WordArray(0 0)&quot;<br></blockquote><div><br></div><div>Fixed in r2312.  I had misread the code generated by gcc and instead of transforming a &lt; b into !(b &gt; a) and a &lt;= b into (!b &gt;= a) I had transformed a &lt; b into !(b &gt;= a) and a &lt;= b into !(b &gt; a).  Tricky.</div>
<div><br></div><div>Eliot</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><font color="#888888">
<br>
<br>
Levente<br>
</font></blockquote></div><br>