Skip to content

Removed cmath and instrinsic wrapper. #13331

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

Merged
merged 1 commit into from
Apr 5, 2014
Merged

Removed cmath and instrinsic wrapper. #13331

merged 1 commit into from
Apr 5, 2014

Conversation

pongad
Copy link
Contributor

@pongad pongad commented Apr 5, 2014

Fixes #12713

/// Raise a number to an integer power.
///
/// Using this function is generally faster than using `powf`
fn powi(&self, n: &i32) -> Self;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should just take i32 by-value.

@pongad
Copy link
Contributor Author

pongad commented Apr 5, 2014

@thestinger Should be fixed now.

bors added a commit that referenced this pull request Apr 5, 2014
@bors bors closed this Apr 5, 2014
@bors bors merged commit d27dd82 into rust-lang:master Apr 5, 2014
@pongad pongad deleted the remove-wrapper branch April 5, 2014 18:56
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.

remove the cmath module, and remove the redundant layer of wrapper functions
3 participants