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

%sccs.include.redist.man%

@(#)labs.3 5.1 (Berkeley) 05/16/90

LABS 3 ""
C 7
NAME
labs - return the absolute value of a long integer
SYNOPSIS
#include <stdlib.h>

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