Skip to content
This repository has been archived by the owner on Jan 19, 2020. It is now read-only.

no_std float sorting #18

Merged
merged 2 commits into from
May 30, 2017
Merged

no_std float sorting #18

merged 2 commits into from
May 30, 2017

Conversation

vks
Copy link
Collaborator

@vks vks commented May 30, 2017

No description provided.

vks added 2 commits May 30, 2017 18:26
Before `num_traits::Float` was used, which does not support `no_std`
because it uses a lot of math functions (`cos`, `sin`, etc.) that are
not implemented in `core`. Those are however not needed for sorting
floats, so we implement a minimal trait required for sorting floats
inside this crate instead.

The `float` feature was left in for backwards compatibility. It does not
do anything, because now we can implement sorting of floats by default.
@notriddle
Copy link
Owner

notriddle commented May 30, 2017

Your PR is approved. Also, bors should listen to you, now, and you should be able to edit issues and such.

bors r+

bors bot added a commit that referenced this pull request May 30, 2017
18: `no_std` float sorting r=notriddle
@bors
Copy link

bors bot commented May 30, 2017

Build succeeded

@bors bors bot merged commit bb11ecb into notriddle:master May 30, 2017
@vks
Copy link
Collaborator Author

vks commented May 30, 2017 via email

@notriddle notriddle mentioned this pull request May 30, 2017
@vks vks deleted the no_std_float branch May 30, 2017 18:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants