]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/fma.3
dlopen.3: tfix
[thirdparty/man-pages.git] / man3 / fma.3
index dd8bbaa6eb3a9106563437e245ac5bab34429583..f73fc9af1d4e7f2a13294059522e5c1d190a62a4 100644 (file)
@@ -9,27 +9,25 @@
 .\" Modified 2004-11-15, Added further text on FLT_ROUNDS
 .\"    as suggested by AEB and Fabian Kreutz
 .\"
-.TH FMA 3  2016-03-15 "" "Linux Programmer's Manual"
+.TH FMA 3  2017-09-15 "" "Linux Programmer's Manual"
 .SH NAME
 fma, fmaf, fmal \- floating-point multiply and add
 .SH SYNOPSIS
 .nf
 .B #include <math.h>
-.sp
+.PP
 .BI "double fma(double " x ", double " y ", double " z );
-.br
 .BI "float fmaf(float " x ", float " y ", float " z );
-.br
 .BI "long double fmal(long double " x ", long double " y ", long double " z );
 .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 fma (),
 .BR fmaf (),
@@ -48,13 +46,13 @@ current rounding mode (see
 These functions return the value of
 .IR x " * " y " + " z ,
 rounded as one ternary operation.
-
+.PP
 If
 .I x
 or
 .I y
 is a NaN, a NaN is returned.
-
+.PP
 If
 .I x
 times
@@ -64,7 +62,7 @@ is an exact infinity, and
 is an infinity with the opposite sign,
 a domain error occurs,
 and a NaN is returned.
-
+.PP
 .\" POSIX.1-2008 allows some possible differences for the following two
 .\" domain error cases, but on Linux they are treated the same (AFAICS).
 .\" Nevertheless, we'll mirror POSIX.1 and describe the two cases
@@ -80,7 +78,7 @@ a domain error occurs, and
 a NaN is returned.
 .\" POSIX.1 says that a NaN or an implementation-defined value shall
 .\" be returned for this case.
-
+.PP
 If one of
 .I x
 or
@@ -91,7 +89,7 @@ is a NaN,
 .\" POSIX.1 makes the domain error optional for this case.
 a domain error occurs, and
 a NaN is returned.
-
+.PP
 If
 .I x
 times
@@ -100,11 +98,11 @@ is not an infinity times zero (or vice versa), and
 .I z
 is a NaN,
 a NaN is returned.
-
+.PP
 If the result overflows,
 a range error occurs, and
 an infinity with the correct sign is returned.
-
+.PP
 If the result underflows,
 a range error occurs, and
 a signed 0 is returned.