1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL, 2002-07-27 Walter Harms
.\" Modified 2004-11-15, Added further text on FLT_ROUNDS
.\" as suggested by AEB and Fabian Kreutz
.\"
.\" Japanese Version Copyright (c) 2004-2005 Yuichi SATO
.\" all rights reserved.
.\" Translated Sat Jul 24 10:37:53 JST 2004
.\" by Yuichi SATO <ysato444@yahoo.co.jp>
.\" Updated & Modified Mon Jan 10 09:11:49 JST 2005 by Yuichi SATO
.\"
.TH FMA 3 2002-07-27 "" "Linux Programmer's Manual"
.SH ̾
fma, fmaf, fmal \- ưѤ¤
.SH
.nf
.B #include <math.h>
.sp
.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
-std=c99 ǥѥ뤷\-lm ǥ롣
.SH
.B fma()
ؿ
.IR x " * " y " + " z
롣
FLT_ROUNDS ͤǷꤵݤ⡼ɤ˴Ťơ
̤ݤ롣
FLT_ROUNDS ưβûˤĤƤμ줿ݤưɽ
ʲΤ줫ͤġ
.IP \-1
ݤ⡼ɤϷƤʤ
.IP 0
0 ˸ƴݤ롣
.IP 1
Ǥᤤ˴ݤ롣
.IP 2
̵˸ƴݤ롣
.IP 3
̵˸ƴݤ롣
.PP
¾ͤϥޥ¸ǤꡢɸŪǤϤʤݤ⡼ɤǤ롣
.SH
C99
.SH Ϣ
.BR fenv (3),
.BR remainder (3),
.BR remquo (3)
|