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 round() instead of round_ties_even() #1

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

duncanpharvey
Copy link
Collaborator

What does this PR do?

Use round() instead of round_ties_even().

Motivation

Saluki is used by thedogstatsd package in libdatadog. libdatadog can only be upgraded to Rust 1.76.0 at the moment and round_ties_even() is only stable on Rust 1.77.0 and later.

DataDog/libdatadog#606

Additional Notes

https://doc.rust-lang.org/std/primitive.f64.html#method.round_ties_even

How to test the change?

See linked PR

@duncanpharvey duncanpharvey merged commit 302ddaa into main Aug 30, 2024
7 of 10 checks passed
@duncanpharvey duncanpharvey deleted the duncan-harvey/round-ties-even branch August 30, 2024 20:38
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.

1 participant