|
@ -1,11 +1,11 @@ |
|
|
#ifndef MULTIPLICATION_H |
|
|
#ifndef MULTIPLICATION_H |
|
|
#define MULTIPLICATION_H |
|
|
#define MULTIPLICATION_H |
|
|
extern double multi(double num1, double num2); |
|
|
extern double multi(double num1, double num2); |
|
|
double square(double x); |
|
|
|
|
|
|
|
|
|
|
|
int multi_three_integers(int a, int b, int c); |
|
|
int multi_three_integers(int a, int b, int c); |
|
|
int multi_left_shift(int a, int b); |
|
|
int multi_left_shift(int a, int b); |
|
|
int multi_right_shift(int a, int b); |
|
|
int multi_right_shift(int a, int b); |
|
|
int multi_by_five(int a); |
|
|
|
|
|
|
|
|
|
|
|
float multi_by_percentage(float num, float percentage); |
|
|
float multi_by_percentage(float num, float percentage); |
|
|
int multi_by_random(int num); |
|
|
int multi_by_random(int num); |
|
|
int multi_string(const char* str, int factor); |
|
|
int multi_string(const char* str, int factor); |
|
@ -17,12 +17,11 @@ int multi_logical_op(int num1, int num2); |
|
|
int multi_modulo(int num1, int num2, int modulo); |
|
|
int multi_modulo(int num1, int num2, int modulo); |
|
|
int multi_by_prime(int num, int prime); |
|
|
int multi_by_prime(int num, int prime); |
|
|
int multi_increment(int num1, int num2); |
|
|
int multi_increment(int num1, int num2); |
|
|
int multi_by_prime_and_its_square(int num, int prime); |
|
|
|
|
|
|
|
|
|
|
|
int multi_by_odd(int num, int factor); |
|
|
int multi_by_odd(int num, int factor); |
|
|
int multi_binary_enumeration(int num1, int num2); |
|
|
int multi_binary_enumeration(int num1, int num2); |
|
|
int multi_differences(int num1, int num2); |
|
|
int multi_differences(int num1, int num2); |
|
|
int multi_recursive_optimized(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_hex_numbers(int num1, int num2); |
|
|
int multi_exponentiation(int base, int exponent); |
|
|
int multi_exponentiation(int base, int exponent); |
|
|
int multi_by_euler_prime(int num); |
|
|
int multi_by_euler_prime(int num); |
|
@ -32,6 +31,7 @@ int bernoulli_multi(int num, int bernoulli); |
|
|
float power_multi(float base, int exponent); |
|
|
float power_multi(float base, int exponent); |
|
|
int bitwisee_multi(int num1, int num2); |
|
|
int bitwisee_multi(int num1, int num2); |
|
|
int karatsu_multi(int num1, int num2); |
|
|
int karatsu_multi(int num1, int num2); |
|
|
|
|
|
int multi_repetition(int a, int n); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|