Browse Source

test_absoluteDifference Funktion

remotes/origin/Abdelrahman
Abdelrahman 11 months ago
parent
commit
823ac2a8c6
  1. 5
      src/c/funktionen.c

5
src/c/funktionen.c

@ -81,3 +81,8 @@ return floor(x);
float ceilingValue(float x) {
return ceil(x);
}
// Function to calculate the absolute difference between two numbers
float absoluteDifference(float x, float y) {
return fabs(x - y);
}
Loading…
Cancel
Save