@ -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);