*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> abs (3)              
Title
Content
Arch
Section
 

ABS(3)

Contents


NAME    [Toc]    [Back]

     abs - integer absolute value function

SYNOPSIS    [Toc]    [Back]

     #include <stdlib.h>

     int
     abs(int j);

DESCRIPTION    [Toc]    [Back]

     The abs() function computes the absolute value of the  integer j.

RETURN VALUES    [Toc]    [Back]

     The abs() function returns the absolute value.

SEE ALSO    [Toc]    [Back]

      
      
     cabs(3), floor(3), hypot(3), labs(3), math(3)

STANDARDS    [Toc]    [Back]

     The  abs()  function  conforms  to  ANSI X3.159-1989 (``ANSI
C'').

BUGS    [Toc]    [Back]

     The absolute value of the most negative integer remains negative.

OpenBSD      3.6                           June      29,     1991
[ Back ]
 Similar pages
Name OS Title
abs Linux compute the absolute value of an integer.
abs IRIX return integer absolute value
qabs OpenBSD return the absolute value of a quad integer
llabs OpenBSD return the absolute value of a long integer
labs NetBSD return the absolute value of a long integer
labs FreeBSD return the absolute value of a long integer
labs OpenBSD return the absolute value of a long integer
qabs NetBSD return the absolute value of a quad integer
floor IRIX floor, ceiling, remainder, absolute value, nearest integer, and truncation functions
floor IRIX floor, ceiling, remainder, absolute value, nearest integer, and truncation functions
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service