There was a ScaledDecimal class in Squeak before the licence change, afaik.<br>Karl<br><br><div class="gmail_quote">On Thu, Jun 30, 2011 at 8:34 PM, 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: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Ralph Johnson &lt;johnson &lt;at&gt; <a href="http://cs.uiuc.edu" target="_blank">cs.uiuc.edu</a>&gt; writes:<br>

<div class="im"><br>
&gt;<br>
&gt; On Wed, Jun 29, 2011 at 8:34 AM, bb &lt;bblochl &lt;at&gt; <a href="http://arcor.de" target="_blank">arcor.de</a>&gt; wrote:<br>
&gt; &gt; I found that there are some Float-Subclasses:<br>
&gt; &gt; FloatD<br>
&gt; &gt; FloatE<br>
&gt; &gt; FloatQ<br>
&gt; &gt; How can I use them and what are they good for?<br>
&gt; &gt; I do not understand the use of<br>
&gt; &gt; LargeZeroInteger<br>
&gt; &gt; as well.<br>
&gt;<br>
&gt; Squeak does not have these classes.  In fact, most Smalltalks do not,<br>
&gt; even though it is part of the ANSI standard.  The only numeric classes<br>
&gt; that are part of the regular image are  Float, Fraction and Integer,<br>
&gt; with its subclasses LargePositiveInteger, LargeNegativeInteger, and<br>
&gt; SmallInteger.  There are other numeric classes out there, such as<br>
&gt; Complex, but these are the ones that get used by everybody.<br>
&gt;<br>
&gt; It has been a while since I have used VisualWorks.  It has a fixed<br>
&gt; decimal number, in addition to the ones I just mentioned.  But I don&#39;t<br>
&gt; think it has the subclasses of Float, either.<br>
&gt;<br>
&gt; -Ralph Johnson<br>
&gt;<br>
<br>
</div>VW has Float = FloatE and Double = FloatD, but no FloatQ.<br>
Beside, it has SmallDouble = optimized FloatD in case of limitefd exponent.<br>
<br>
Smalltalk-X has the three classes.<br>
<br>
Dolphin only has Float = FloatD if I remember well.<br>
<br>
VA ?<br>
<br>
I also checked about asInteger, VW does the same as Squeak, truncate, and I<br>
think it is inherited directly from st-80.<br>
Being both Smalltalk-80 and ANSI is somehow a bit uncompatible, though I&#39;m not<br>
sure Smalltalk-80 is normative...<br>
<font color="#888888"><br>
Nicolas<br>
</font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
</div></div></blockquote></div><br>