-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
draw: avoid FMA (Fused Multiply Add)
Changing "expr" to "float64(expr)" disables FMA on that expression, even when expr's type is already nominally float64. The output of this package should now be independent of GOARCH. See the "FMA (Fused Multiply Add) detector" discussion at https://groups.google.com/g/golang-dev/c/oZv0PaZmUGs Fixes golang/go#67029 Change-Id: I43cecee0e9c8156eae39f52b5a2338c34d31a65a Reviewed-on: https://go-review.googlesource.com/c/image/+/596816 Reviewed-by: Nigel Tao (INACTIVE; USE @golang.org INSTEAD) <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
- Loading branch information
Showing
3 changed files
with
680 additions
and
675 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.