3 ms·
I do believe that's quite intentional, due to the inexactness of floating-point values, it's not "right" to do that. There should be a `partial_min` function th
by arcticbull 7y ago
I do believe that's quite intentional, due to the inexactness of floating-point values, it's not "right" to do that. There should be a `partial_min` function though, IMO, which has weaker guarantees.
- gpm 7y agoIt's absolutely intentional, and it's got being technically correct on its side, it's just frustrating.
- oxnrtr 7y agoNot really. That Rust forced total order and partial order into a sub-typing relation is a completely unnecessary, self-inflicted wound.
- steveklabnik 7y agoMany folks do consider this a mistake. Some do still think it was the right call. I'd say it's very unclear.