Skip to content

Add round_ties_even to StdFloat trait#510

Merged
calebzulawski merged 1 commit intorust-lang:masterfrom
zRedShift:add-round-ties-even
Mar 15, 2026
Merged

Add round_ties_even to StdFloat trait#510
calebzulawski merged 1 commit intorust-lang:masterfrom
zRedShift:add-round-ties-even

Conversation

@zRedShift
Copy link
Copy Markdown
Contributor

@zRedShift zRedShift commented Feb 21, 2026

Adds round_ties_even to StdFloat using the simd_round_ties_even intrinsic, matching the scalar f32::round_ties_even / f64::round_ties_even API.

Includes tests in both core_simd/tests/round.rs and std_float/tests/float.rs.

Closes #390

@rustbot

This comment has been minimized.

Adds `round_ties_even` using `simd_round_ties_even` intrinsic, matching
the scalar `f32::round_ties_even` / `f64::round_ties_even` API.

Closes rust-lang#390
@calebzulawski
Copy link
Copy Markdown
Member

Thank you!

@calebzulawski calebzulawski merged commit 99e9d40 into rust-lang:master Mar 15, 2026
53 checks passed
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.

Missing SIMD version of round_ties_even

3 participants