diff --git a/src/c/funktionen.c b/src/c/funktionen.c index 1674f5f..c16fd87 100644 --- a/src/c/funktionen.c +++ b/src/c/funktionen.c @@ -86,3 +86,8 @@ return ceil(x); float absoluteDifference(float x, float y) { return fabs(x - y); } + +// Function to calculate the maximum of two numbers +float maximum(float x, float y) { + return fmax(x, y); +}