]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/fma.3
Import of man-pages 1.70
[thirdparty/man-pages.git] / man3 / fma.3
CommitLineData
fea681da
MK
1.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2.\" Distributed under GPL, 2002-07-27 Walter Harms
3.\"
4.TH FMA 3 2002-07-27 "" "Linux Programmer's Manual"
5.SH NAME
6fma, fmaf, fmal \- floating-point multiply and add
7.SH SYNOPSIS
8.nf
9.B #include <math.h>
10.sp
11.BI "double fma(double " x ", double " y ", double " z );
12.sp
13.BI "float fmaf(float " x ", float " y ", float " z );
14.sp
15.BI "long double fmal(long double " x ", long double " y ", long double " z );
16.fi
17.sp
18Link with \-lm.
19.SH DESCRIPTION
20The
21.B fma()
22function computes
23.IR x " * " y " + " z .
24The result is rounded according to the
25rounding mode determined by the value of FLT_ROUNDS.
26.SH "CONFORMING TO"
27C99
28.SH "SEE ALSO"
29.BR remainder (3),
30.BR remquo (3)