Browse Source

maximum Funktion

remotes/origin/Abdelrahman
Abdelrahman 11 months ago
parent
commit
93673e0e4f
  1. 5
      src/c/funktionen.c

5
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);
}
Loading…
Cancel
Save