]>
Commit | Line | Data |
---|---|---|
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 | |
6 | fma, 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 | |
18 | Link with \-lm. | |
19 | .SH DESCRIPTION | |
20 | The | |
21 | .B fma() | |
22 | function computes | |
23 | .IR x " * " y " + " z . | |
24 | The result is rounded according to the | |
25 | rounding mode determined by the value of FLT_ROUNDS. | |
26 | .SH "CONFORMING TO" | |
27 | C99 | |
28 | .SH "SEE ALSO" | |
29 | .BR remainder (3), | |
30 | .BR remquo (3) |