SIGN IN SIGN UP

Add Power of Four Check using bit manipulation (#7065)

* Add Power of Four Check using bit manipulation

- Implements isPowerOfFour method using bit manipulation
- Checks if number is power of two and has bit at even position
- Includes comprehensive unit tests
- Fixes #6940

* Fix code formatting in PowerOfFourTest

* Move PowerOfFour classes to maths package

* Fix package declaration in PowerOfFourTest

* Fix code formatting in PowerOfFourTest

* Remove redundant import from PowerOfFourTest

* Remove unrelated file
K
Krishna committed
3979e824b7683c5435df1b8d703433123da9a31c
Parent: 98eecb9
Committed by GitHub <noreply@github.com> on 11/15/2025, 5:36:01 PM