Skip to content

fix: convert native PHP floats to single precision#8187

Merged
haberman merged 2 commits intoprotocolbuffers:masterfrom
bshaffer:patch-3
Jan 11, 2021
Merged

fix: convert native PHP floats to single precision#8187
haberman merged 2 commits intoprotocolbuffers:masterfrom
bshaffer:patch-3

Conversation

@bshaffer
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

haberman commented Jan 7, 2021

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

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.

4 participants