Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support total ordering #12

Open
joseluis opened this issue Jul 10, 2022 · 0 comments
Open

support total ordering #12

joseluis opened this issue Jul 10, 2022 · 0 comments

Comments

@joseluis
Copy link
Contributor

Rust stabilized in 1.62 the total_cmp method that follows the totalOrder predicate from the IEEE754 spec (v2008, 5.10).

The same method could be added, that calculates the total order for the the high bits first and then the lower bits.

If bumping the MSRV to 1.62 is a problem, it'd be also very easy to reimplement it from scratch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant