MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / power

Function power

math/modular_division.cpp:50–66  ·  view source on GitHub ↗

* @brief This function calculates a raised to exponent b under modulo c using * modular exponentiation. * @param a integer base * @param b unsigned integer exponent * @param c integer modulo * @return a raised to power b modulo c */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mod_divisionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected