Calculates the absolute value of a long integer.
The labs function returns the absolute value of its argument. There is no error return.
<stdlib.h> and <math.h>
For additional compatibility information, see Compatibility in the Introduction.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback