[Vm-dev] [commit][3152] Make sure to compile the SmallFloat64 primitives.

Ben Coman btc at openInWorld.com
Wed Nov 26 22:27:50 UTC 2014


commits at squeakvm.org wrote:
>  
> Revision: 3152
> Author:   eliot
> Date:     2014-11-26 11:57:25 -0800 (Wed, 26 Nov 2014)
> Log Message:
> -----------
> Make sure to compile the SmallFloat64 primitives.
> 
>  	boxedFloat comment: 'My instances hold 64-bit Floats in heap objects.  This is the only representation on 32-bit systems.  But on 64-bit systems SmallFloat64 holds a subset of the full 64-bit double-precision range in immediate objects.'
>  		stamp: 'eem 11/25/2014 7:54'.
>  	smallFloat comment: 'My instances represent 64-bit Floats whose exponent fits in 8 bits as immediate objects.  This representation is only available on 64-bit systems, not 32-bit systems.'
> 

So are SmallFloats converted to BoxedFloats on the fly when an image is 
moved from a 64-bit host to a 32-bit host ?

btw, Does that comment need updating... didn't you go with SmallDouble, 
BoxedDouble?

cheers -ben


More information about the Vm-dev mailing list