]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/fabs.3
err.3: EXAMPLES: use EXIT_FAILURE rather than 1 as exit status
[thirdparty/man-pages.git] / man3 / fabs.3
index 2eecaad36f40461a33151fd69871cc7f0c27174f..033f64075a5469b1fd7225af7746d008f3f21338 100644 (file)
 .\" Modified Sat Jul 24 19:42:04 1993 by Rik Faith (faith@cs.unc.edu)
 .\" Added fabsl, fabsf, aeb, 2001-06-07
 .\"
-.TH FABS 3  2015-04-19 "" "Linux Programmer's Manual"
+.TH FABS 3  2017-09-15 "" "Linux Programmer's Manual"
 .SH NAME
 fabs, fabsf, fabsl \- absolute value of floating-point number
 .SH SYNOPSIS
 .nf
 .B #include <math.h>
-.sp
+.PP
 .BI "double fabs(double " x );
-.br
 .BI "float fabsf(float " x );
-.br
 .BI "long double fabsl(long double " x );
 .fi
-.sp
+.PP
 Link with \fI\-lm\fP.
-.sp
+.PP
 .in -4n
 Feature Test Macro Requirements for glibc (see
 .BR feature_test_macros (7)):
 .in
-.sp
+.PP
 .ad l
 .BR fabsf (),
 .BR fabsl ():
@@ -66,15 +64,15 @@ number
 .SH RETURN VALUE
 These functions return the absolute value of
 .IR x .
-
+.PP
 If
 .I x
 is a NaN, a NaN is returned.
-
+.PP
 If
 .I x
 is \-0, +0 is returned.
-
+.PP
 If
 .I x
 is negative infinity or positive infinity, positive infinity is returned.
@@ -96,7 +94,7 @@ T}    Thread safety   MT-Safe
 .TE
 .SH CONFORMING TO
 C99, POSIX.1-2001, POSIX.1-2008.
-
+.PP
 The variant returning
 .I double
 also conforms to