mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-03 10:35:34 +08:00
Update math/modular_exponentiation.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
committed by
GitHub
parent
a9adb142a1
commit
053aea0b9a
@@ -63,7 +63,7 @@ namespace math {
|
||||
*/
|
||||
static void test()
|
||||
{
|
||||
int test_case_1 = math::power(2,5,13);
|
||||
uint32_t test_case_1 = math::power(2,5,13);
|
||||
assert(test_case_1==6);
|
||||
std::cout<<"Test 1 Passed!"<<std::endl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user