Closed bdd closed 1 year ago
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
I'm no lawyer, but I'm convinced you don't really need CLA or other copyright stuff for such tiny contributions.
I'm no lawyer, but I'm convinced you don't really need CLA or other copyright stuff for such tiny contributions.
Nor am I, but the CLA policy (written by Google's lawyers) seems to grant an exception only for changes to the copyright headers, but not for changes below some size threshold. Sorry.
FWIW: @bdd, I see you work at Facebook, which has signed the CLA as a corporation, so commits from facebook.com e-mail addresses won't face this extra hurdle.
Gentle ping.
Sorry for the delay---I thought I was waiting for the CLA check to pass, but it already had.
Thanks for the fix.
Came across this while fixing broken Starlark builds for Nixpkgs. It was already market broken for linux-aarch64 and failing for darwin-aarch64.
I was reproducible with Go 1.16, 1.17, and 1.18 on both Linux and macOS with
math.Tan(math.Pi / 4)
as well. On amd64, it's consistently1
but onarm64
it's consistently0.9999999999999998
.testdata/math.star
already provides anear
helper for these floating point approximation issues.This PR modifies two lines two fix the tests on arm64.