Feature gate: #![feature(sort_floats)]
This is a tracking issue for the sort_floats method on [f32] and [f64], a convenience method to sort a slice of floats by calling sort_unstable_by using total_cmp.
Public API
impl [f32] {
pub fn sort_floats(&mut self);
}
impl [f64] {
pub fn sort_floats(&mut self);
}
Steps / History
Open questions
- Should we rename this to
sort, which would require some additional steps (possibly negative impls for Ord on f32 and f64) to avoid a name conflict?
Feature gate:
#![feature(sort_floats)]This is a tracking issue for the
sort_floatsmethod on[f32]and[f64], a convenience method to sort a slice of floats by callingsort_unstable_byusingtotal_cmp.Public API
Steps / History
[f32]::sort_floatsand[f64]::sort_floats#93397Open questions
sort, which would require some additional steps (possibly negative impls forOrdonf32andf64) to avoid a name conflict?