<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 7, 2014 at 12:03 PM, J. Vuletich (mail lists) <span dir="ltr">&lt;<a href="mailto:juanlists@jvuletich.org" target="_blank">juanlists@jvuletich.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> Hi Eliot,<div class=""><br>
<br>
Quoting Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>&gt;:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi Juan,<br>
<br>
    On Thu, Aug 7, 2014 at 9:40 AM, J. Vuletich (mail lists)<br>
&lt;<a href="mailto:juanlists@jvuletich.org" target="_blank">juanlists@jvuletich.org</a>&gt; wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi Folks,<br>
<br>
Just tried Smalltalk-80 (actually Apple Smalltalk-80 running in Mini<br>
vMac).<br>
1e-3 &quot;printIt&quot; (1/1000)<br>
1e-3 class &quot;printIt&quot; Fraction<br>
1e3 &quot;printIt&quot; 1000<br>
1e3 class &quot;printIt&quot; SmallInteger<br>
<br>
This has always been the behavior in Squeak too.<br>
</blockquote>
<br>
      <br>
     What happens if you try compiling a method containing a literal<br>
Fraction and both debug it and decompile it. <br>
<br>
</blockquote>
<br></div>
The attach shows that in ST-80 a CompiledMethod can contain a Fraction literal. Source code form for that is &#39;1e-3&#39;. Debugger works as in Squeak or Cuis.</blockquote><div><br></div><div>then if you feel strongly change it back, but you need to fix this:</div>
<div><br></div><div><span class="" style="white-space:pre">        </span>(1/2) isLiteral false</div><div><br></div><div>when you do so.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Also check these comments from Dan:<br>
<br>
</blockquote></blockquote>
<a href="http://lists.squeakfoundation.org/pipermail/squeak-dev/2000-March/013368.html" target="_blank">http://lists.squeakfoundation.<u></u>org/pipermail/squeak-dev/2000-<u></u>March/013368.html</a><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
      <br>
     Dan doesn&#39;t say anything about Fraction literals in this message.<br>
</blockquote>
<br></div>
He does talk about scientific notation &#39;1e3&#39; and &#39;1e-3&#39; meaning not Float, but SmallInteger and Fraction. The subject of this thread is &quot;Float parsed as Fraction bug&quot;.     <div class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

I don&#39;t think this is a bug at all.<br>
</blockquote>
<br>
      <br>
     What, that 1e-3 is a Fraction, not a Float?<br>
</blockquote>
      <br></div>
Yes. That, and allowing for Fraction literals in methods.<div class=""><div class="h5"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

BTW, Cuis also supports 1r111111111111 = 12 after this :)<br>
</blockquote></blockquote>
<br>
Cheers,<br>
Juan Vuletich<br></div></div></blockquote></div>-- <br>best,<div>Eliot</div>
</div></div>