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

Merge some numeric traits with Real and don't re-export RealExt #11412

Merged
merged 1 commit into from
Jan 9, 2014

Conversation

brendanzab
Copy link
Member

The methods contained in std::num::{Algebraic, Trigonometric, Exponential, Hyperbolic} have now been moved into std::num::Real. This is part of an ongoing effort to simplify std::num (see issue #10387).

std::num::RealExt has also been removed from the prelude because it is not a commonly used trait.

r? @alexcrichton

The methods contained in `std::num::{Algebraic, Trigonometric, Exponential, Hyperbolic}` have now been moved into `std::num::Real`. This is part of an ongoing effort to simplify `std::num` (see issue rust-lang#10387).

`std::num::RealExt` has also been removed from the prelude because it is not a commonly used trait.
bors added a commit that referenced this pull request Jan 9, 2014
The methods contained in `std::num::{Algebraic, Trigonometric, Exponential, Hyperbolic}` have now been moved into `std::num::Real`. This is part of an ongoing effort to simplify `std::num` (see issue #10387).

`std::num::RealExt` has also been removed from the prelude because it is not a commonly used trait.

r? @alexcrichton
@bors bors closed this Jan 9, 2014
@bors bors merged commit 0232fed into rust-lang:master Jan 9, 2014
@brendanzab brendanzab deleted the num-cleanups branch January 9, 2014 15:42
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