[Accepted] SE-0288: Adding isPower(of:) to BinaryInteger

The review for SE-0288: "Adding isPower(of:) to BinaryInteger" ran from August 26 to September 4, 2020. The core team has decided to accept this proposal. The community reception was mostly positive, with only some requests for clarification and discussion on whether to make the API specific to base 2. Many people noted that base 10 is another common base, and the core team believes the implementation can be crafted to generate efficient code in the base 2 special case while still supporting a more general base.

Thanks to everyone who participated in the review!

Terms of Service

Privacy Policy

Cookie Policy