(C) 1998 AROS - The Amiga Research OS


NAME
#include <stdlib.h>

int abs ()

SYNOPSIS
int j

FUNCTION
Compute the absolute value of j.

INPUTS
j
A signed integer

RESULT
The absolute value of j.

EXAMPLE
// returns 1
abs (1);

// returns 1
abs (-1);
SEE ALSO
labs(), fabs()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
12.12.1996 aros
New functions