Skip to content

pow should not be a uint #56

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

Closed
steveklabnik opened this issue Jan 21, 2015 · 3 comments
Closed

pow should not be a uint #56

steveklabnik opened this issue Jan 21, 2015 · 3 comments

Comments

@steveklabnik
Copy link
Contributor

rust-lang/rust#16755

@lambda-fairy
Copy link

pow() uses u32 now:

fn pow(self, mut exp: u32) -> Self;

Should we close this issue?

@hauleth
Copy link
Member

hauleth commented Jan 19, 2016

Absolutely.

@hauleth hauleth closed this as completed Jan 19, 2016
@vks
Copy link
Contributor

vks commented Apr 29, 2016

num::pow and num::checked_pow still use uint for the exponent. Changing it to u32 would be a breaking change though.

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

4 participants