x/image/draw: BiLinear.Scale shows GOARCH-dependent behaviour due to float operation differences #67029
Labels
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Go version
go1.22
Output of
go env
in your module/workspace:What did you do?
Run the tests in this change: kortschak/gifscaleissue#1 or the same locally on a linux/arm64 device (this is the go env above).
What did you see happen?
A difference in encoded image between the ubuntu run and darwin (arm64 — darwin/amd64 shows no difference).
What did you expect to see?
The same encoding.
Additional comments
This is undoubtedly due to FMA differences between arm64 and amd64 and may well be something that is not worth "fixing", but I wanted to raise it in case others see this issue. It arose in testing, and in the original case, I am just duplicating the golden images with a GOARCH tag to differentiate them.
The text was updated successfully, but these errors were encountered: