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"><<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>></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 <johnson <at> <a href="http://cs.uiuc.edu" target="_blank">cs.uiuc.edu</a>> writes:<br>
<div class="im"><br>
><br>
> On Wed, Jun 29, 2011 at 8:34 AM, bb <bblochl <at> <a href="http://arcor.de" target="_blank">arcor.de</a>> wrote:<br>
> > I found that there are some Float-Subclasses:<br>
> > FloatD<br>
> > FloatE<br>
> > FloatQ<br>
> > How can I use them and what are they good for?<br>
> > I do not understand the use of<br>
> > LargeZeroInteger<br>
> > as well.<br>
><br>
> Squeak does not have these classes. In fact, most Smalltalks do not,<br>
> even though it is part of the ANSI standard. The only numeric classes<br>
> that are part of the regular image are Float, Fraction and Integer,<br>
> with its subclasses LargePositiveInteger, LargeNegativeInteger, and<br>
> SmallInteger. There are other numeric classes out there, such as<br>
> Complex, but these are the ones that get used by everybody.<br>
><br>
> It has been a while since I have used VisualWorks. It has a fixed<br>
> decimal number, in addition to the ones I just mentioned. But I don't<br>
> think it has the subclasses of Float, either.<br>
><br>
> -Ralph Johnson<br>
><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'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>