I find myself needing to order some floats. Searches throw up two pre-packaged solutions:
- version 2.2
- 1 million recent downloads
- last update 12 days ago
- no documentation
- spartan interface
- I've spent too much time failing to wrap an
NotNaNand not understanding how/why its creation differs from
OrderedFloatwhich Just Works.
- version 0.3.1
- 2000 recent downloads
- last update 12 months ago
- expressive interface
- Initial experiments throw up no surprises.
Thus, from my naive and ill-informed perspective,
ordered-float seems to be the obviously-named, mature, actively-maintained product that everyone uses; and yet
decorum, though cryptically-named, seems to be better thought out, better documented and more usable.
As this is a third-order speed bump I'm encountering while trying to achieve something else, I don't really have time study this in depth on my own, right now.
Can you offer any wisdom on the pros and cons of these (or any other options) when it comes to ordering floats in Rust?