[Vm-dev] Re: [Pharo-project] Teleplace Cog VMs are now available

Henrik Sperre Johansen henrik.s.johansen at veloxit.no
Tue Jun 22 00:16:01 UTC 2010


  On 20.06.2010 22:11, Eliot Miranda wrote:
> While the VMs convert float order automatically on load they do 
> require special accessing primitives Float>>basicAt: & 
> Float>>basicAt:put: that undo the reversal and answer Float contents 
> in big-endian order so that e.g. Float>>hash is unchanged.  The 
> methods assume these primitives can fail, allowing the code to be used 
> on current Squeak VMs.
>
>
Should also note, Float divisions by zero now return + / - Infinity 
rather than raising ZeroDivide errors.
15.0 / 0  Infinity
-15.0 / 0.0 -Infinity

Cheers,
Henry


More information about the Vm-dev mailing list