netbsd man page for labs

Query: labs

OS: netbsd

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ABS(3)							   BSD Library Functions Manual 						    ABS(3)

NAME
abs, labs, llabs, imaxabs -- functions for integer absolute value
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <stdlib.h> int abs(int x); long int labs(long int x); long long int llabs(long long int x); #include <inttypes.h> intmax_t imaxabs(intmax_t x);
DESCRIPTION
These functions return the absolute value of the integer x. The listed functions differ only with respect to the type of the return value and x.
SEE ALSO
cabs(3), fabs(3), floor(3), math(3)
STANDARDS
The described functions conform to ISO/IEC 9899:1999 (``ISO C99'').
BUGS
The absolute value of the most negative integer remains negative.
BSD
April 13, 2011 BSD
Related Man Pages
labs(3) - redhat
llabs(3) - redhat
imaxabs(3) - suse
abs(3) - x11r4
abs(3) - xfree86
Similar Topics in the Unix Linux Community
Canonical To Offer Alfresco Labs Pre-Packaged Within Ubuntu Distribution
SoftlabsAV: 0.9.2 released
Lock Box Labs PGP Tools 1.00 (Default branch)
Alfresco Labs 3 Stable (Default branch)
Hands On Labs: Install Oracle Solaris 10 on Oracle VM VirtualBox