diff --git a/src/multiplication.c b/src/multiplication.c index 267c6ea..45f1fb7 100644 --- a/src/multiplication.c +++ b/src/multiplication.c @@ -79,7 +79,7 @@ int multi_using_lookup_table(int num1, int num2) { return lookup_table[num1][num2]; } -int multi_using_logical_operations(int num1, int num2) { +int multi_using_logical_op(int num1, int num2) { int result = 0; while (num2) { if (num2 & 1) { diff --git a/src/multiplication.h b/src/multiplication.h index 42a90b6..7e1c2eb 100644 --- a/src/multiplication.h +++ b/src/multiplication.h @@ -13,7 +13,7 @@ int multi_string(const char* str, int factor); int multi_using_two_comp(int num2, int num3); int multi_by_even(int num, int factor); int multi_using_lookup_table(int num1, int num2); -int multi_using_logical_operations(int num1, int num2); +int multi_using_logical_op(int num1, int num2); int multi_using_modulo(int num1, int num2, int modulo); int multi_by_prime(int num, int prime); int multi_using_increment(int num1, int num2);