-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
Adding math algorithm to compute power and its tests #172
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 Report
@@ Coverage Diff @@
## master #172 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 135 136 +1
Lines 2498 2510 +12
Branches 414 417 +3
=====================================
+ Hits 2498 2510 +12
Continue to review full report at Codecov.
|
@HatimLokhandwala thank you for PR!
|
@trekhleb Have updated the readme for the missing details. |
Thank you @HatimLokhandwala |
* Adding math algorithm to compute power and its tests * adding more test cases, updating compute power js * Updating ReadMe for power computation algorithm
* Adding math algorithm to compute power and its tests * adding more test cases, updating compute power js * Updating ReadMe for power computation algorithm
An algorithm to compute the power using two numbers A and B.
Power (A, B) = A^B