MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / power.py

File power.py

divide_and_conquer/power.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1def actual_power(a: int, b: int) -> int:
2 """
3 Function using divide and conquer to calculate a^b.
4 It only works for integer a,b.

Callers

nothing calls this directly

Calls 1

powerFunction · 0.70

Tested by

no test coverage detected