Computer Science


ABS(3)              Linux Programmer's Manual              ABS(3)

NAME
       abs - computes the absolute value of an integer.

SYNOPSIS
       #include <stdlib.h>

       int abs(int j);

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

RETURN VALUE
       Returns the absolute value of the integer argument.

CONFORMING TO
       SVID 3, POSIX, BSD 4.3, ISO 9899

NOTES
       Trying to take the absolute value  of  the  most  negative
       integer is not defined.

SEE ALSO
       ceil(3), floor(3), fabs(3), labs(3), rint(3)

GNU                        June 6, 1993                         1

Back to the index


Apply now!


Handbook

Postgraduate study options

Computer Science Blog



Please give us your feedback or ask us a question

This message is...


My feedback or question is...


My email address is...

(Only if you need a reply)

A to Z Directory | Site map | Accessibility | Copyright | Privacy | Disclaimer | Feedback on this page