[squeak-dev] Float32Array weirdness
David T. Lewis
lewis at mail.msen.com
Sat Feb 13 15:18:02 UTC 2021
On Sat, Feb 13, 2021 at 03:34:40PM +0100, St??phane Rollandin wrote:
> Hello all,
>
> In the latest trunk image, #at:put: in Float32Array seems to miss the
> fractional part:
>
> | floatArray |
> (floatArray := Float32Array new: 4) at: 2 put: 2.3.
> floatArray
>
> ==> a Float32Array(0.0 2.0 0.0 0.0)
>
I cannot reproduce. I am on linux, and I get this:
==> a Float32Array(0.0 2.299999952316284 0.0 0.0)
Dave
More information about the Squeak-dev
mailing list
|