<div dir="ltr"><div>Note that asTrueFraction is not engaged in classic VM nor cog/spur because the Float primitive for &lt; &gt; etc... do convert the SmallInteger parameter to Float, which apparently is not the case in your VM...<br>
<br></div>That makes me think that it will be a problem in 64 bits image with 61bits small int, because converting an int &gt; 2^53 to double will be an inexact operation...<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-07-24 13:02 GMT+02:00 Nicolas Cellier <span dir="ltr">&lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Ouch, ugly side effect of exact comparison...<br><br></div>Should be fixed in: Kernel-nice.860<br>Avoid engaging LargeInteger arithmetic (asTrueFraction) just for testing the sign of a Float<br></div><div class="gmail_extra">

<br><br><div class="gmail_quote">2014-07-24 12:05 GMT+02:00 Marcel Taeumel <span dir="ltr">&lt;<a href="mailto:marcel.taeumel@student.hpi.uni-potsdam.de" target="_blank">marcel.taeumel@student.hpi.uni-potsdam.de</a>&gt;</span>:<div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+1<br>
<br>
We can add #beginsWith: and #endsWith: in those string-related classes. :)<br>
<br>
Best,<br>
Marcel<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://forum.world.st/Inefficiencies-tp4769793p4769812.html" target="_blank">http://forum.world.st/Inefficiencies-tp4769793p4769812.html</a><br>
Sent from the Squeak - Dev mailing list archive at Nabble.com.<br>
<br>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>