diff --git a/src/c/funktionen.c b/src/c/funktionen.c index 6cc0436..8c8f0d2 100644 --- a/src/c/funktionen.c +++ b/src/c/funktionen.c @@ -52,3 +52,8 @@ printf("Error: Invalid input for natural logarithm!\n"); return 0; } } + +// Function to calculate the exponentiation of a number to the power of another number +float power(float x, float y) { +return pow(x, y); +}