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

Don't depend on std to sort floats #3

Open
veddan opened this issue Apr 28, 2015 · 2 comments
Open

Don't depend on std to sort floats #3

veddan opened this issue Apr 28, 2015 · 2 comments

Comments

@veddan
Copy link
Owner

veddan commented Apr 28, 2015

The Float trait used by sort_floats has been move to then num crate, which depends on std. I don't want this, and don't use any functionality related to std.

I'm not sure what the best solution is. Writing my own Float will solve the immediate issue (being able to sort &[f64]/&[f32], but will hurt interoperability in generic code.

@lambda-fairy
Copy link

rust-num/num#216 might be relevant.

@vks
Copy link

vks commented May 30, 2017

Float cannot be ported to core without reimplementing almost all math functions! Only a few are implemented in core.

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

3 participants