SmallFloat is like SmallInteger: immediate value encoded in oop, and it is only for 64 bits Spur VM.Boxed is the classical VM Float, two 4-bytes word allocated per Float, and is both for 32 bits VM and Float values not fitting in immediate format (3 bits have been stolen from exponent...).
2016-02-01 20:49 GMT+01:00 stepharo <stepharo@free.fr>:
Hi
I'm updating Pharo by example and the relationship between Float and its subclasses is unclear to me.
Do we only get instances of the subclasses now?
I got that Boxed is only for 64 bits.
But SmallFloat?
The class comment is not really self describing.
Stef