From 6d751ea40ca94174d0689b90ab2de8a1e147b0f4 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sun, 4 Feb 2024 21:00:25 +0100 Subject: [PATCH] power Funktion header --- src/c/funktionen.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/c/funktionen.h b/src/c/funktionen.h index 1401fde..e8b0d08 100644 --- a/src/c/funktionen.h +++ b/src/c/funktionen.h @@ -22,4 +22,7 @@ float logarithm(float x); // Function to calculate the natural logarithm (base e) of a number float naturalLogarithm(float x); +// Function to calculate the exponentiation of a number to the power of another number +float power(float x, float y); + #endif \ No newline at end of file