<br><br><div class="gmail_quote">On Wed, Jul 1, 2009 at 10:02 AM, Nicolas Cellier <span dir="ltr">&lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
2009/7/1 David T. Lewis &lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt;:<br>
<div class="im">&gt;<br>
&gt; On Wed, Jul 01, 2009 at 08:32:18AM -0700, Andreas Raab wrote:<br>
&gt;&gt;<br>
&gt;&gt; Ouch. Yeah, I&#39;d say that&#39;s right...<br>
&gt;<br>
&gt; This is from <a href="http://bugs.squeak.org/view.php?id=7260" target="_blank">http://bugs.squeak.org/view.php?id=7260</a>. I reopened the<br>
&gt; issue on Mantis.<br>
&gt;<br>
&gt; I&#39;ll apply the fix to VMMaker as soon as I can (but feel free to do the<br>
&gt; update if I don&#39;t get to it first; Bert you have developer access as well<br>
&gt; as Andreas of course).<br>
&gt;<br>
&gt; Dave<br>
&gt;<br>
<br>
</div>Ouch again, my fault.<br>
How can the tests pass... Hmm not enough test?</blockquote><div><br></div><div>There are no &gt; &lt; &gt;= or &lt;= tests in the FloatTest class.   I just read the draft IEEE 754 spec and didn&#39;t find it easy going so I&#39;d much rather you wrote the tests than I :)  I&#39;m very happy to get them to pass.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<font color="#888888"><br>
Nicolas<br>
</font><div><div></div><div class="h5"><br>
&gt;&gt;<br>
&gt;&gt; Bert Freudenberg wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;I just noticed that<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;bytecodePrimGreaterOrEqual<br>
&gt;&gt; &gt;    ...<br>
&gt;&gt; &gt;    aBool := self primitiveFloatLess: rcvr thanArg: arg.<br>
&gt;&gt; &gt;    successFlag ifTrue: [^self booleanCheat: aBool not].<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;got changed to<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;bytecodePrimGreaterOrEqual<br>
&gt;&gt; &gt;    ...<br>
&gt;&gt; &gt;    aBool := self primitiveFloatGreaterOrEqual: rcvr toArg: arg.<br>
&gt;&gt; &gt;    successFlag ifTrue: [^self booleanCheat: aBool not].<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;but shouldn&#39;t that be<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;bytecodePrimGreaterOrEqual<br>
&gt;&gt; &gt;    ...<br>
&gt;&gt; &gt;    aBool := self primitiveFloatGreaterOrEqual: rcvr toArg: arg.<br>
&gt;&gt; &gt;    successFlag ifTrue: [^self booleanCheat: aBool].<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;and similarly for bytecodePrimLessOrEqual?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;- Bert -<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
</div></div></blockquote></div><br>