Browse Source

minimum Funktion

remotes/origin/Abdelrahman
Abdelrahman 11 months ago
parent
commit
0ab016ee9c
  1. 6
      src/c/funktionen.c

6
src/c/funktionen.c

@ -91,3 +91,9 @@ float absoluteDifference(float x, float y) {
float maximum(float x, float y) { float maximum(float x, float y) {
return fmax(x, y); return fmax(x, y);
} }
// Function to calculate the minimum of two numbers
float minimum(float x, float y) {
return fmin(x, y);
}
Loading…
Cancel
Save