From a326ad78ccf28532be0feac06fb9aac227ddf529 Mon Sep 17 00:00:00 2001 From: enge Date: Wed, 27 Jun 2012 14:14:41 +0000 Subject: mpc.texi: small reshuffling of functions git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1193 211d60ee-9f03-0410-a15a-8952a2c7a4e4 --- doc/mpc.texi | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'doc') diff --git a/doc/mpc.texi b/doc/mpc.texi index a724877..e38fedf 100644 --- a/doc/mpc.texi +++ b/doc/mpc.texi @@ -858,6 +858,11 @@ Set @var{rop} to @var{op1} @minus{} @var{op2} rounded according to @var{rnd}. For @code{mpc_ui_ui_sub}, @var{op1} is @var{re1} + @var{im1}. @end deftypefn +@deftypefun int mpc_neg (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd}) +Set @var{rop} to @minus{}@var{op} rounded according to @var{rnd}. +Just changes the sign if @var{rop} and @var{op} are the same variable. +@end deftypefun + @deftypefun int mpc_mul (mpc_t @var{rop}, mpc_t @var{op1}, mpc_t @var{op2}, mpc_rnd_t @var{rnd}) @deftypefunx int mpc_mul_ui (mpc_t @var{rop}, mpc_t @var{op1}, unsigned long int @var{op2}, mpc_rnd_t @var{rnd}) @deftypefunx int mpc_mul_si (mpc_t @var{rop}, mpc_t @var{op1}, long int @var{op2}, mpc_rnd_t @var{rnd}) @@ -877,6 +882,11 @@ in both cases rounded according to @var{rnd}. Set @var{rop} to the square of @var{op} rounded according to @var{rnd}. @end deftypefun +@deftypefun int mpc_fma (mpc_t @var{rop}, mpc_t @var{op1}, mpc_t @var{op2}, mpc_t @var{op3}, mpc_rnd_t @var{rnd}) +Set @var{rop} to @var{op1}*@var{op2}+@var{op3}, +rounded according to @var{rnd}, with only one final rounding. +@end deftypefun + @deftypefun int mpc_div (mpc_t @var{rop}, mpc_t @var{op1}, mpc_t @var{op2}, mpc_rnd_t @var{rnd}) @deftypefunx int mpc_div_ui (mpc_t @var{rop}, mpc_t @var{op1}, unsigned long int @var{op2}, mpc_rnd_t @var{rnd}) @deftypefunx int mpc_div_fr (mpc_t @var{rop}, mpc_t @var{op1}, mpfr_t @var{op2}, mpc_rnd_t @var{rnd}) @@ -885,11 +895,6 @@ Set @var{rop} to the square of @var{op} rounded according to @var{rnd}. Set @var{rop} to @var{op1}/@var{op2} rounded according to @var{rnd}. @end deftypefun -@deftypefun int mpc_neg (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd}) -Set @var{rop} to @minus{}@var{op} rounded according to @var{rnd}. -Just changes the sign if @var{rop} and @var{op} are the same variable. -@end deftypefun - @deftypefun int mpc_conj (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd}) Set @var{rop} to the conjugate of @var{op} rounded according to @var{rnd}. Just changes the sign of the imaginary part @@ -921,10 +926,6 @@ of the real and imaginary parts by @var{op2} when @var{rop} and @var{op1} are identical. @end deftypefun -@deftypefun int mpc_fma (mpc_t @var{rop}, mpc_t @var{op1}, mpc_t @var{op2}, mpc_t @var{op3}, mpc_rnd_t @var{rnd}) -Set @var{rop} to @var{op1} @times @var{op2} plus @var{op3}, -rounded according to @var{rnd}, with only one final rounding. -@end deftypefun @node Power Functions and Logarithm @section Power Functions and Logarithm -- cgit v1.2.1