[Vm-dev] Re: [squeak-dev] Spur with Immediate Floating Point Support implies a break

Levente Uzonyi leves at elte.hu
Wed Dec 3 23:08:33 UTC 2014

On Mon, 1 Dec 2014, Eliot Miranda wrote:

> I was assuming that any of add or subtract positive or negative zero, or 
> multiply or divide by 1.0 would do the trick.  Why wouldn't this be
> adequate?

I think "x + 0.0" is adequate, but unnatural. It reminds me of 
javascript's typecast hacks.

> Ah, I see.  Hang on.  There is no support for SmallFloat64 on 32-bit Spur.
> Only in a 64-bit image/on a 64-bit Spur VM will you be able to create
> instances of SmallFloat64.  And so far I only have this working in the VM
> simulator.  I've yet to try and create a real VM, and even then it will
> only be a Stack VM.

Wouldn't it be possible to support them in a 32-bit VM? Aren't object 
headers the same in both VMs? Or is it because of the difference in 


More information about the Vm-dev mailing list