#include <stdlib.h> long labs(long x);
This function takes the absolute value of x. See section abs.
|x|