arkworks-rs/std

Rename `log2` to `log2_of_next_power_of_two`

jon-chuang opened this issue · 0 comments

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.