ABS - absolute value.

(ANSI Standard)

Usage:

#include <stdlib.h>
i = abs(j);

Where:

int j;
is any signed integer.
int i;
receives the absolute value of "j".

Description:

"abs" returns the absolute value of its integer argument.

Copyright © 1996, Thinkage Ltd.