FreeBSD 7.0 manual page repository

FreeBSD is a free computer operating system based on BSD UNIX originally. Many IT companies, like DeployIS is using it to provide an up-to-date, stable operating system.

abs - integer absolute value function

 

NAME

      abs - integer absolute value function
 

LIBRARY

      Standard C Library (libc, -lc)
 

SYNOPSIS

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

DESCRIPTION

      The abs() function computes the absolute value of the integer j.
      The abs() function returns the absolute value.
      cabs(3), fabs(3), floor(3), hypot(3), imaxabs(3), labs(3), llabs(3),
      math(3)
 

STANDARDS

      The abs() function conforms to ISO/IEC 9899:1999 (“ISO C99”).
 

BUGS

      The absolute value of the most negative integer remains negative.
 

Sections

Based on BSD UNIX
FreeBSD is an advanced operating system for x86 compatible (including Pentium and Athlon), amd64 compatible (including Opteron, Athlon64, and EM64T), UltraSPARC, IA-64, PC-98 and ARM architectures. It is derived from BSD, the version of UNIX developed at the University of California, Berkeley. It is developed and maintained by a large team of individuals. Additional platforms are in various stages of development.