From 8febf9277bb6be01b61e4e3472981735f79e0b25 Mon Sep 17 00:00:00 2001 From: fdai7930 Date: Fri, 9 Feb 2024 14:30:33 +0100 Subject: [PATCH] Refactoring: replaced multiplication with multi in mltiplication repetition function --- src/multiplication.c | 2 +- src/multiplication.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/multiplication.c b/src/multiplication.c index 455175f..6bba9a4 100644 --- a/src/multiplication.c +++ b/src/multiplication.c @@ -236,7 +236,7 @@ int karatsu_multi(int num1, int num2) { } -int multiplication_repetition(int a, int n) { +int multi_repetition(int a, int n) { int resultat = 0; for (int i = 0; i < n; i++) { resultat += a; diff --git a/src/multiplication.h b/src/multiplication.h index 52e2641..7122e36 100644 --- a/src/multiplication.h +++ b/src/multiplication.h @@ -31,7 +31,7 @@ int bernoulli_multi(int num, int bernoulli); float power_multi(float base, int exponent); int bitwisee_multi(int num1, int num2); int karatsu_multi(int num1, int num2); -int multiplication_repetition(int a, int n); +int multi_repetition(int a, int n);