Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix floating point precision failure caused by FMA on ppc64le #214

Merged
merged 1 commit into from
Jul 25, 2022

Conversation

prashantkhoje
Copy link
Contributor

This was exposed while testing CockroachDB.
The geomfn/TestShortestLineString fails due to floating point precision differences caused by FMA on ppc64le.
See https://go.dev/ref/spec#Floating_point_operators for more details.

@twpayne
Copy link
Owner

twpayne commented Jul 25, 2022

Same comments as for #213.

@twpayne
Copy link
Owner

twpayne commented Jul 25, 2022

Also, please can you rebase this on the latest master to pick up the CI fixes. Thanks!

@prashantkhoje prashantkhoje force-pushed the ppc64le-fma-failure-cdb branch 2 times, most recently from 20d729b to 330b287 Compare July 25, 2022 07:44
@prashantkhoje prashantkhoje marked this pull request as draft July 25, 2022 10:01
@prashantkhoje prashantkhoje force-pushed the ppc64le-fma-failure-cdb branch from 330b287 to 7febab4 Compare July 25, 2022 10:10
@prashantkhoje prashantkhoje marked this pull request as ready for review July 25, 2022 10:11
This was exposed while testing CockroachDB.
The geomfn/TestShortestLineString fails due to floating point precision differences caused by FMA on ppc64le.
See https://go.dev/ref/spec#Floating_point_operators for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants