~ubuntu-branches/ubuntu/precise/manpages-posix/precise

1 by Francesco Paolo Lovergine
rules: linking manpages-posix not manpages.
1
.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved 
2 by Francesco Paolo Lovergine
* Alligned to linux main manpages edition.
2
.TH "IMAXABS" P 2003 "IEEE/The Open Group" "POSIX Programmer's Manual"
1 by Francesco Paolo Lovergine
rules: linking manpages-posix not manpages.
3
.\" imaxabs 
4
.SH NAME
5
imaxabs \- return absolute value
6
.SH SYNOPSIS
7
.LP
8
\fB#include <inttypes.h>
9
.br
10
.sp
11
intmax_t imaxabs(intmax_t\fP \fIj\fP\fB);
12
.br
13
\fP
14
.SH DESCRIPTION
15
.LP
16
The \fIimaxabs\fP() function shall compute the absolute value of an
17
integer \fIj\fP. If the result cannot be represented, the
18
behavior is undefined.
19
.SH RETURN VALUE
20
.LP
21
The \fIimaxabs\fP() function shall return the absolute value.
22
.SH ERRORS
23
.LP
24
No errors are defined.
25
.LP
26
\fIThe following sections are informative.\fP
27
.SH EXAMPLES
28
.LP
29
None.
30
.SH APPLICATION USAGE
31
.LP
32
The absolute value of the most negative number cannot be represented
33
in two's complement.
34
.SH RATIONALE
35
.LP
36
None.
37
.SH FUTURE DIRECTIONS
38
.LP
39
None.
40
.SH SEE ALSO
41
.LP
42
\fIimaxdiv\fP() , the Base Definitions volume of IEEE\ Std\ 1003.1-2001,
43
\fI<inttypes.h>\fP
44
.SH COPYRIGHT
45
Portions of this text are reprinted and reproduced in electronic form
46
from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
47
-- Portable Operating System Interface (POSIX), The Open Group Base
48
Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
49
Electrical and Electronics Engineers, Inc and The Open Group. In the
50
event of any discrepancy between this version and the original IEEE and
51
The Open Group Standard, the original IEEE and The Open Group Standard
52
is the referee document. The original Standard can be obtained online at
53
http://www.opengroup.org/unix/online.html .