Skip to content

Comments

Add round_ties_even to StdFloat trait#510

Open
zRedShift wants to merge 1 commit intorust-lang:masterfrom
zRedShift:add-round-ties-even
Open

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

Conversation

@zRedShift
Copy link

@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
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

2 participants