This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RFA: Tweak documentation of fma


The original reason for this was to fix the missing space before "@var{z}".
"Do a combined multiply ... and then" didn't sound quite right though:
"and then" implies a separate step and so feels like a contradiction
of "combined".

Tested with "make doc html pdf".  OK to install?

Thanks,
Richard


gcc/
	* doc/rtl.texi (fma): Clarify documentation.

Index: gcc/doc/rtl.texi
===================================================================
--- gcc/doc/rtl.texi	2015-01-12 15:28:02.413075415 +0000
+++ gcc/doc/rtl.texi	2015-02-03 14:21:02.485178134 +0000
@@ -2306,8 +2306,8 @@ For unsigned widening multiplication, us
 @findex fma
 @item (fma:@var{m} @var{x} @var{y} @var{z})
 Represents the @code{fma}, @code{fmaf}, and @code{fmal} builtin
-functions that do a combined multiply of @var{x} and @var{y} and then
-adding to@var{z} without doing an intermediate rounding step.
+functions, which compute @samp{@var{x} * @var{y} + @var{z}}
+without doing an intermediate rounding step.
 
 @findex div
 @findex ss_div


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]