<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Am 29.06.2011 17:03, schrieb Bert Freudenberg:
    <blockquote
      cite="mid:02FC3867-CA7F-49A2-AEAC-8BB1929F2DDF@freudenbergs.de"
      type="cite">
      <pre wrap="">
On 29.06.2011, at 16:29, bb wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">Am 29.06.2011 15:56, schrieb Bert Freudenberg:
</pre>
        <blockquote type="cite">
          <pre wrap="">On 29.06.2011, at 15:34, bb wrote:

</pre>
          <blockquote type="cite">
            <pre wrap="">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.
</pre>
          </blockquote>
          <pre wrap="">These classes are not in any official Squeak image. What image are you using? Which packages are they in?

- Bert -

_______________________________________________
Beginners mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a>
</pre>
        </blockquote>
        <pre wrap="">I am badly curious - so I sometimes cross check with other Smalltalk80
versions. I hope that is not a betrayal.
</pre>
      </blockquote>
      <pre wrap="">
Well, if you are not actually using Squeak then it would at least help to state which Smalltalk you are referring too. 

</pre>
      <blockquote type="cite">
        <pre wrap="">I found that classes in a GNU Smalltalk-80  documentation
<a class="moz-txt-link-freetext" href="http://www.gnu.org/software/smalltalk//manual-base/html_node/FloatD.html">http://www.gnu.org/software/smalltalk//manual-base/html_node/FloatD.html</a>. I
was not aware that this was a GNU Smalltalk docu.

But that classes do have some interesting methods.
</pre>
      </blockquote>
      <pre wrap="">
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 -

_______________________________________________
Beginners mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/mailman/listinfo/beginners">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a>
</pre>
    </blockquote>
    Well, I found in the selector browser no FloatD/E/Q, but I found
    corresponding methods asFloatD/E/Q. <br>
    Just for completeness of Information about that classes in question,
    I found a description of the methods:<br>
    <br>
    onionmixer.net/extra_data/gst.pdf<br>
    <br>
    6.104.4 Number: converting<br>
    asFloat This method&#8217;s functionality should be implemented by
    subclasses of Number<br>
    asFloatD This is mandated by the ANSI standard; since <b>GNU
      Smalltalk currently does<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; not support different floating-point classes</b>, simply
    convert the receiver to a<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Float.<br>
    asFloatE This is mandated by the ANSI standard; since <b>GNU
      Smalltalk currently does<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; not support different floating-point classes</b>, simply
    convert the receiver to a<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Float.<br>
    asFloatQ This is mandated by the ANSI standard; since <b>GNU
      Smalltalk currently does<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; not support different floating-point classes</b>, simply
    convert the receiver to a<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Float.<br>
    ...<br>
    <br>
    I bolded parts of the text. <br>
    <br>
    As I found out in the squeak sources, taht it uses this methods
    asFloatD/E/Q for the same reason! <br>
    <br>
    Regards<br>
    <br>
    B. Blochl<br>
  </body>
</html>