Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.921.mcz==================== Summary ====================
Name: Collections-nice.921
Author: nice
Time: 30 December 2020, 12:46:21.328377 am
UUID: f66c5960-3b41-4815-ab2c-ce42061fb43e
Ancestors: Collections-eem.920
Fix buggish float array 32<->64 conversions...
Hell, how could I publish that?
Il ne faut pas confondre vitesse et précipitation...
=============== Diff against Collections-eem.920 ===============
Item was changed:
----- Method: Float32Array class>>fromFloat64Array: (in category 'instance creation') -----
fromFloat64Array: aFloat64Array
+ ^(self new: aFloat64Array size) copyFromFloat64Array: aFloat64Array!
- ^(self new: aFloat64Array) copyFromFloat64Array: aFloat64Array!
Item was changed:
----- Method: Float32Array>>copyFromFloat64Array: (in category 'initialize-release') -----
copyFromFloat64Array: aFloat64Array
"Destructively replace the elements of self with those of aFloat64Array"
+ <primitive: 'primitiveFromFloat64Array' module: 'FloatArrayPlugin'>
- <primitive: 'primitiveFromFloat64Array' module: 'Float64ArrayPlugin'>
self isOfSameSizeCheck: aFloat64Array.
1 to: self size do:[:i| self at: i put: (aFloat64Array at: i)].!
Item was changed:
----- Method: Float64Array class>>fromFloatArray: (in category 'instance creation') -----
fromFloatArray: aFloatArray
+ ^(self new: aFloatArray size) copyFromFloatArray: aFloatArray!
- ^(self new: aFloatArray) copyFromFloatArray: aFloatArray!