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

stabilize const_int_pow #76829

Merged
merged 2 commits into from
Nov 23, 2020
Merged

stabilize const_int_pow #76829

merged 2 commits into from
Nov 23, 2020

Commits on Nov 23, 2020

  1. stabilize const_int_pow

    Also stabilize constctlz for const ctlz_nonzero.
    
    The public methods stabilized const by this commit are:
    
      * `{i*,u*}::checked_pow`
      * `{i*,u*}::saturating_pow`
      * `{i*,u*}::wrapping_pow`
      * `{i*,u*}::overflowing_pow`
      * `{i*,u*}::pow`
      * `u*::next_power_of_two`
      * `u*::checked_next_power_of_two`
      * `u*::wrapping_next_power_of_two` (the method itself is still unstable)
    tspiteri committed Nov 23, 2020
    Configuration menu
    Copy the full SHA
    aca37b6 View commit details
    Browse the repository at this point in the history
  2. const_int_pow will be stabilized in 1.50.0, not in 1.49.0

    Same for constctlz.
    tspiteri committed Nov 23, 2020
    Configuration menu
    Copy the full SHA
    a6bcf7a View commit details
    Browse the repository at this point in the history