summaryrefslogtreecommitdiff
path: root/mpfr.texi
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2008-02-01 11:02:22 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2008-02-01 11:02:22 +0000
commit3bdd994b75fb06b8839a2569f2e67d5a40dfe7ef (patch)
tree66889fad6eb3c7a5d4b9f592e9f33bdf73a6c780 /mpfr.texi
parent5eaaa11bae62f29d902df0697a88178ee75919a8 (diff)
downloadmpfr-3bdd994b75fb06b8839a2569f2e67d5a40dfe7ef.tar.gz
added parentheses to avoid ambiguity (suggested by Keith Briggs)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5249 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mpfr.texi')
-rw-r--r--mpfr.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpfr.texi b/mpfr.texi
index 9822efbc8..c1cb5589f 100644
--- a/mpfr.texi
+++ b/mpfr.texi
@@ -1648,12 +1648,12 @@ NaN or negative,
@end deftypefun
@deftypefun int mpfr_fma (mpfr_t @var{rop}, mpfr_t @var{op1}, mpfr_t @var{op2}, mpfr_t @var{op3}, mp_rnd_t @var{rnd})
-Set @var{rop} to @math{@var{op1} @GMPtimes{} @var{op2} + @var{op3}},
+Set @var{rop} to @math{(@var{op1} @GMPtimes{} @var{op2}) + @var{op3}},
rounded in the direction @var{rnd}.
@end deftypefun
@deftypefun int mpfr_fms (mpfr_t @var{rop}, mpfr_t @var{op1}, mpfr_t @var{op2}, mpfr_t @var{op3}, mp_rnd_t @var{rnd})
-Set @var{rop} to @math{@var{op1} @GMPtimes{} @var{op2} - @var{op3}},
+Set @var{rop} to @math{(@var{op1} @GMPtimes{} @var{op2}) - @var{op3}},
rounded in the direction @var{rnd}.
@end deftypefun