<cstdlib>
long int labs ( long int n );
Absolute value
/* labs example */ #include <stdio.h> #include <stdlib.h> int main () { long int n,m; n=labs(65537L); m=labs(-100000L); printf ("n=%ld\n",n); printf ("m=%ld\n",m); return 0; }
n=65537 m=100000