-
Notifications
You must be signed in to change notification settings - Fork 20.9k
Added Power of Four Check (Bit Manipulation) #6999
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
Conversation
codecov-commenter
commented
Oct 30, 2025
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## master #6999 +/- ## ============================================ + Coverage 78.26% 78.39% +0.12% - Complexity 6573 6639 +66 ============================================ Files 743 749 +6 Lines 21895 22078 +183 Branches 4288 4331 +43 ============================================ + Hits 17137 17308 +171 - Misses 4074 4080 +6 - Partials 684 690 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Shewale41
commented
Oct 30, 2025
Hey @DenizAltunkapan @yanglbme @alxkm 👋 can you please review this PR , I have cleared all the checks can you merge my PR.
Thanks.
Uh oh!
There was an error while loading. Please reload this page.
Description
This PR adds an implementation to check whether a number is a power of four
using bit manipulation.
The algorithm ensures that:
Type of change
Checklist