Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: Align cmp::le() with the other implementations
Also add comments reminding that IEEE 754 requires unusual semantics for comparison operators as applied to NaNs (x != x, if x = NaN), in case someone in the future wants to get clever.
- Loading branch information
1 parent
7eae397
commit d5dc66a
Showing
1 changed file
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters