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

Use repr to encode floats in to_bytes #168

Merged
merged 1 commit into from
Mar 22, 2018
Merged

Use repr to encode floats in to_bytes #168

merged 1 commit into from
Mar 22, 2018

Conversation

bmerry
Copy link
Collaborator

@bmerry bmerry commented Nov 10, 2017

This ensures that no precision is lost when encoding 64-bit floats. This
matches the encoding logic in redis-py. Tests are added for set,
incrbyfloat and hincrbyfloat.

This ensures that no precision is lost when encoding 64-bit floats. This
matches the encoding logic in redis-py. Tests are added for `set`,
`incrbyfloat` and `hincrbyfloat`.
@bmerry bmerry merged commit 865f5d4 into jamesls:master Mar 22, 2018
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.

None yet

1 participant