4 ms·
OP here -- this post is pretty dated. I currently use the OrderedFloat [1] crate to solve this problem which works quite well and plays nicely with NaN https:/
by rusbus 8y ago
OP here -- this post is pretty dated. I currently use the OrderedFloat [1] crate to solve this problem which works quite well and plays nicely with NaN
https://crates.io/crates/ordered-float https://crates.io/crates/ordered-float