[squeak-dev] FloatConstants?

Eliot Miranda eliot.miranda at gmail.com
Wed Dec 17 06:20:31 UTC 2014


Hi Chris,

On Dec 16, 2014, at 7:24 PM, Chris Muller <asqueaker at gmail.com> wrote:

> I wish to access some of the Float constants without a message send.

I'm curious.  Why?


> Would anyone mind if I moved the class-vars defined in Float into a
> new Pool called "FloatConstants", so I may import them and write
> myFloat == NaN?

Instead simply define the pool and initialize it.  IMO it is your own business if you want to define such a pool but it does not need to be in the base image.  The existing access has worked just fine so far.


> 


More information about the Squeak-dev mailing list