ABS
Section: Linux Programmer's Manual (3)
Updated: June 6, 1993
Index
Return to Main Contents
NAME
abs - computes the absolute value of an integer.
SYNOPSIS
#include <stdlib.h>
int abs(int j);
DESCRIPTION
The abs() function computes the absolute value of the integer
argument j.
RETURN VALUE
Returns the absolute value of the integer argument.
CONFORMING TO
SVID 3, POSIX, BSD 4.3, ISO 9899
NOTES
Trying to take the absolute value of the most negative integer
is not defined.
SEE ALSO
ceil(3), floor(3), fabs(3), labs(3), rint(3)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURN VALUE
-
- CONFORMING TO
-
- NOTES
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 12:23:21 GMT, March 22, 2025