Hi Levente,<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>Thank you!  I have been looking superficially at Nicholas&#39; NaN tests and have fixed two of the problems (comparisons of NaNs are ordered as in the interpreter and division by 0.0 now fails).  But in doing that  was seeing some strange results in closeTo: et al.  This symptom looks to be related but it could underlie a lot of problems.  At least it&#39;s an easily debuggable case.</div>
<div><br></div><div>self assert: (Compiler evaluate: &#39;0.0&#39;) negative not</div><div><br></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>