You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These do not handle partial orderings correctly. #12509 adds correct min and max methods to the Float trait to be used in place of these. These will likely end up as LLVM intrinsics at some point in the future too.
This can be fixed either by making the functions require TotalOrd, or by making them default methods on Ord and doing an override for floating point types.