[squeak-dev] FloatMathPlugin in Squeak for Croquet compatability?

Levente Uzonyi leves at elte.hu
Tue Dec 14 01:35:34 UTC 2010


On Mon, 13 Dec 2010, Matthew Fulmer wrote:

> Croquet (and thus Open Cobalt) requires that squeak images
> perform floating point operations bit-identically across
> machines, and the FloatMathPlugin was added to the VM to ensure
> this is the case.
>
> Now that OpenCobalt is nearly ready for debut onto the Squeak
> trunk, I'm wondering if this should be enabled by default in
> squeak images. FloatMathPlugin is included in standard VMs, but
> is not used by non-Croquet images. I'm wondering if we should
> change that.
>
> I uploaded the code and test case for this feature at:
>
> http://bugs.squeak.org/view.php?id=7583

There were plans about using the primitives during the developement of 
Squeak 4.1. They also give a nice speed up if you're using SqueakVM, but 
some of them (#sin, #cos, etc.) are slower with CogVM.
In Kernel-mtf.527 the behavior of the methods is different if the receiver 
is NaN.


Levente

>
> -- 
> Matthew Fulmer (a.k.a. Tapple)
>
>



More information about the Squeak-dev mailing list