diff --git a/src/multiplication.c b/src/multiplication.c index d5eff30..f2ddf1c 100644 --- a/src/multiplication.c +++ b/src/multiplication.c @@ -143,19 +143,6 @@ int multi_recursive_optimized(int num1, int num2) { return result; } -int multi_octal_numbers(int num1, int num2) { - int result = 0; - while (num2 != 0) { - if (num2 & 1) { - result += num1; - } - num1 <<= 3; // Décalage octal - num2 >>= 1; - } - - return result; -} - int multi_hex_numbers(int num1, int num2) { int result = 0; while (num2 != 0) { diff --git a/src/multiplication.h b/src/multiplication.h index 713e205..52fdcf4 100644 --- a/src/multiplication.h +++ b/src/multiplication.h @@ -22,7 +22,6 @@ int multi_by_odd(int num, int factor); int multi_binary_enumeration(int num1, int num2); int multi_differences(int num1, int num2); int multi_recursive_optimized(int num1, int num2); -int multi_octal_numbers(int num1, int num2); int multi_hex_numbers(int num1, int num2); int multi_exponentiation(int base, int exponent); int multi_by_euler_prime(int num);