Floats in squeak...
Ned Konz
ned at bike-nomad.com
Sat Sep 6 04:28:51 UTC 2003
On Friday 05 September 2003 07:27 pm, Joshua 'Schwa' Gargus wrote:
> Well, that and because I'm now having the same problem. Here is a
> snippet that is pretty close to the root of the problem:
>
> #(1 3 5) asFloatArray += 2.5
> ==> a FloatArray(1.0 3.0 5.0)
>
On my Linux VM (compiled with GCC v3.3):
#(1 3 5) asFloatArray += 2.5
--> a FloatArray(3.5 5.5 7.5)
Have you tried making the FloatArrayPlugin internal?
Smalltalk listLoadedModules
-> #('LargeIntegers v1.2 3 September 2003 (i)' 'B2DPlugin 3 September
2003 (i)' 'Matrix2x3Plugin 3 September 2003 (i)' 'FloatArrayPlugin 3
September 2003 (i)' 'BitBltPlugin 3 September 2003 (i)'
'SecurityPlugin 3 September 2003 (i)' 'FilePlugin 3 September 2003
(i)' 'MiscPrimitivePlugin 3 September 2003 (i)')
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|