Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

RedHat 6.2

(Zoot)

abs(3)


ABS

ABS

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
CONFORMING TO
NOTES
SEE ALSO

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)



abs(3)