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

traits: add to_degrees and to_radians on Float #212

Merged
merged 1 commit into from
Jul 24, 2016

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Jul 23, 2016

To avoid a breaking change, these have crude default implementations as
well as better implementations for f32 and f64 in particular. They
don't use the inherent methods though, because f32 didn't stabilize
those until Rust 1.7.

Fixes #211

To avoid a breaking change, these have crude default implementations as
well as better implementations for `f32` and `f64` in particular.  They
don't use the inherent methods though, because `f32` didn't stabilize
those until Rust 1.7.

Fixes rust-num#211
@frewsxcv
Copy link
Contributor

Looks great, thanks! 🎊

@cuviper
Copy link
Member Author

cuviper commented Jul 24, 2016

@homu r+

@homu
Copy link
Contributor

homu commented Jul 24, 2016

📌 Commit 0faeb31 has been approved by cuviper

@homu
Copy link
Contributor

homu commented Jul 24, 2016

⚡ Test exempted - status

@homu homu merged commit 0faeb31 into rust-num:master Jul 24, 2016
homu added a commit that referenced this pull request Jul 24, 2016
traits: add `to_degrees` and `to_radians` on `Float`

To avoid a breaking change, these have crude default implementations as
well as better implementations for `f32` and `f64` in particular.  They
don't use the inherent methods though, because `f32` didn't stabilize
those until Rust 1.7.

Fixes #211
@frewsxcv
Copy link
Contributor

@cuviper Great! Any chance a new release could get cut?

@cuviper
Copy link
Member Author

cuviper commented Jul 24, 2016

Sure - I just published num-traits-0.1.34.

@frewsxcv
Copy link
Contributor

Thanks a ton! ✨

@cuviper cuviper deleted the float-deg-rad branch January 11, 2017 23:41
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

Successfully merging this pull request may close these issues.

3 participants