int abs (int n);
int abs ( int n); long int abs (long int n);
int abs ( int n); long int abs ( long int n); long long int abs (long long int n);
/n/
).int
version exists.long int
equivalent see labs.long long int
equivalent see llabs.
|
|
n=23 m=11 |
abs(INT_MIN)
in an implementation with two's complement signed values), it causes undefined behavior.