summaryrefslogtreecommitdiffstats
path: root/man3/fabs.3
blob: c5f5301b2d82e9dfc8db44e94c2cc5ebb716e2aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
.\" May be distributed under the GNU General Public License
.\" References consulted:
.\"     Linux libc source code
.\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
.\"     386BSD man pages
.\" Modified Sat Jul 24 19:42:04 1993 by Rik Faith (faith@cs.unc.edu)
.TH FABS 3  "June 25, 1993" "" "Linux Programmer's Manual"
.SH NAME
fabs \- absolute value of floating-point number
.SH SYNOPSIS
.nf
.B #include <math.h>
.sp
.BI "double fabs(double " x );
.fi
.SH DESCRIPTION
The \fBfabs()\fP function returns the absolute value of the floating-point
number \fIx\fP.
.SH "CONFORMING TO"
SVID 3, POSIX, BSD 4.3, ISO 9899
.SH SEE ALSO
.BR abs "(3), " ceil "(3), " floor "(3), " labs "(3), " rint (3)