diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/mpc.texi | 19 |
1 files changed, 10 insertions, 9 deletions
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 |