<br><br><div class="gmail_quote">On Mon, Sep 20, 2010 at 7:56 AM, Levente Uzonyi <span dir="ltr"><<a href="mailto:leves@elte.hu">leves@elte.hu</a>></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. "true"<br>
0.0 < 0. "true"<br>
0.0 as: WordArray. "a WordArray(0 0)"<br>
<br>
while in SqueakVM<br>
<br>
0.0 negative. " false"<br>
0.0 < 0. "false"<br>
0.0 as: WordArray. "a WordArray(0 0)"<br></blockquote><div><br></div><div>Fixed in r2312. I had misread the code generated by gcc and instead of transforming a < b into !(b > a) and a <= b into (!b >= a) I had transformed a < b into !(b >= a) and a <= b into !(b > 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>