[Newbies] Float-Subclasses?

Bert Freudenberg bert at freudenbergs.de
Wed Jun 29 15:03:14 UTC 2011

On 29.06.2011, at 16:29, bb wrote:

> Am 29.06.2011 15:56, schrieb Bert Freudenberg:
>> On 29.06.2011, at 15:34, bb wrote:
>>> I found that there are some Float-Subclasses: 
>>> FloatD
>>> FloatE
>>> FloatQ
>>> How can I use them and what are they good for? 
>>> I do not understand the use of
>>> LargeZeroInteger
>>> as well.
>> These classes are not in any official Squeak image. What image are you using? Which packages are they in?
>> - Bert -
>> _______________________________________________
>> Beginners mailing list
>> Beginners at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/mailman/listinfo/beginners
> I am badly curious - so I sometimes cross check with other Smalltalk80
> versions. I hope that is not a betrayal.

Well, if you are not actually using Squeak then it would at least help to state which Smalltalk you are referring too. 

> I found that classes in a GNU Smalltalk-80  documentation
> http://www.gnu.org/software/smalltalk//manual-base/html_node/FloatD.html. I
> was not aware that this was a GNU Smalltalk docu.
> But that classes do have some interesting methods.

FWIW, Squeak has only one Float class (IEEE double-precision, 64 bits). In addition, there is FloatArray, storing Floats as 32 bit single-precision values.

- Bert -

More information about the Beginners mailing list