Browse Source

bernouli multiplication added

remotes/origin/multiplication
fdai7930 11 months ago
parent
commit
b0b32c18d9
  1. 5
      src/multiplication.c
  2. 2
      src/multiplication.h

5
src/multiplication.c

@ -207,6 +207,11 @@ int repeated_division_multiply(int num1, int num2) {
return result;
}
int bernoulli_multiply(int num, int bernoulli) {
return num * bernoulli;
}

2
src/multiplication.h

@ -28,6 +28,8 @@ int multiply_exponentiation(int base, int exponent);
int multiply_by_euler_prime(int num);
int fibonacci_multiply(int num, int fib);
int repeated_division_multiply(int num1, int num2);
int bernoulli_multiply(int num, int bernoulli);

Loading…
Cancel
Save