Cleared warning for undeclared 'abs()'