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: convert native PHP floats to single precision #8187

Merged
merged 2 commits into from Jan 11, 2021

Conversation

bshaffer
Copy link
Contributor

@bshaffer bshaffer commented Jan 6, 2021

See #8165

Converts PHP double-precision floats to single-precision for consistency with the protobuf C-extension

@haberman
Copy link
Member

haberman commented Jan 7, 2021

This PR looks reasonable to me on first glance, but appears to cause some test failures. @bshaffer want to investigate?

@bshaffer
Copy link
Contributor Author

bshaffer commented Jan 7, 2021

@haberman I unfortunately can't see the details of the failing tests - getting 404s on both of them when I click "Details". Running the tests locally now to investigate...

@bshaffer
Copy link
Contributor Author

bshaffer commented Jan 7, 2021

The failing tests are for Ruby, which was not effected by this change, so I think they're just flakey.

@haberman
Copy link
Member

haberman commented Jan 7, 2021

The Ruby 3.0 tests are brand new, we can disregard them until #8134 is merged.

@haberman haberman merged commit 468bc19 into protocolbuffers:master Jan 11, 2021
@bshaffer bshaffer deleted the patch-3 branch January 11, 2021 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants