mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-05 11:33:04 +00:00
ed793d86da
Add `[f32]::sort_floats` and `[f64]::sort_floats` It's inconvenient to sort a slice or Vec of floats, compared to sorting integers. To simplify numeric code, add a convenience method to `[f32]` and `[f64]` to sort them using `sort_unstable_by` with `total_cmp`. |
||
---|---|---|
.. | ||
benches | ||
primitive_docs | ||
src | ||
tests | ||
Cargo.toml |