[squeak-dev] Re: floats

nicolas cellier nicolas.cellier.aka.nice at gmail.com
Sun Mar 15 12:23:40 UTC 2009


Hé hé, what a shame, when having a integer roundedSqrt or a
truncatedSqrt is cheap and easy
http://bugs.squeak.org/view.php?id=7099

Envoyé par nicolas cellier via Google Reader : Re: floats via
gmane.comp.lang.smalltalk.squeak.general de Bert Freudenberg le
15/03/09 For interactive graphics they are, very much, yes, and that is
one of the major reasons for Squeak to exist. But even in general,
having Float arithmetic is so convenient to developers that it crept
into many places that don't even really need it. In an image that is
not that important to you, try making Float>>sqrt do "self halt", and
then move a window for example. Or take the OLPC hardware designers -
they went for the lowest-power chip that had a decent floating point
unit (or at least that was a major factor) because there is so much
software out there that relies on float support and that does not
perform adequately with emulation. - Bert -
Ce que vous pouvez faire à partir de cette page :
- Vous abonner à gmane.comp.lang.smalltalk.squeak.general à l'aide de
Google Reader
- Suivre l'actualité de tous vos sites favoris avec Google Reader
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20090315/b09ae22e/attachment.htm


More information about the Squeak-dev mailing list