xref: /original-bsd/lib/libc/stdlib/abs.3 (revision caa496f3)
Copyright (c) 1990 The Regents of the University of California.
All rights reserved.

%sccs.include.redist.man%

@(#)abs.3 6.2 (Berkeley) 05/16/90

ABS 3 ""
C 7
NAME
abs - return the absolute value of an integer
SYNOPSIS
#include <stdlib.h>

int
abs(int j);
DESCRIPTION
Abs returns the absolute value of the integer n .
SEE ALSO
floor(3), labs(3)
STANDARDS
Abs conforms to ANSI X3.159-1989 (``ANSI C'').
BUGS
The absolute value of the most negative integer remains negative.