Skip to content

Conversation

@the-ssd
Copy link
Contributor

@the-ssd the-ssd commented Jan 24, 2026

This is a small change since the new libm version was released, and the trait based implementation can be simplified

@the-ssd the-ssd requested review from a team as code owners January 24, 2026 07:56
@the-ssd the-ssd requested review from cfallin and removed request for a team January 24, 2026 07:56
@github-actions github-actions bot added the cranelift Issues related to the Cranelift code generator label Jan 24, 2026
Copy link
Member

@alexcrichton alexcrichton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

/// Returns the nearest integer to `self`. Rounds half-way cases to the number
/// with an even least significant digit.
pub fn round_ties_even(self) -> Self {
// TODO: when libm v0.2.16 is published line below can be used instead
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this comment line can be deleted too now, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift Issues related to the Cranelift code generator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants