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

Rename log2 to log2_of_next_power_of_two #27

Open
jon-chuang opened this issue Feb 10, 2021 · 0 comments
Open

Rename log2 to log2_of_next_power_of_two #27

jon-chuang opened this issue Feb 10, 2021 · 0 comments

Comments

@jon-chuang
Copy link
Contributor

jon-chuang commented Feb 10, 2021

Currently, there is a lot of ambiguity in the naming, requiring downstream user to check the original def to get confirmation of what it does. This makes it much clearer.

There is also precedent in the naming in usize methods, for the function next_power_of_two.

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

1 participant