diff options
-rw-r--r-- | doc/mpfr.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/mpfr.texi b/doc/mpfr.texi index 05c3435e3..e86e3e299 100644 --- a/doc/mpfr.texi +++ b/doc/mpfr.texi @@ -1667,10 +1667,11 @@ is @minus{}Inf instead of +Inf. @deftypefunx int mpfr_root (mpfr_t @var{rop}, mpfr_t @var{op}, unsigned long int @var{k}, mpfr_rnd_t @var{rnd}) Set @var{rop} to the cubic root (resp.@: the @var{k}th root) of @var{op} rounded in the direction @var{rnd}. +For @var{k} = 0, set @var{rop} to NaN@. For @var{k} odd (resp.@: even) and @var{op} negative (including @minus{}Inf), set @var{rop} to a negative number (resp.@: NaN)@. The @var{k}th root of @minus{}0 is defined to be @minus{}0, -whatever the parity of @var{k}. +whatever the parity of @var{k} (different from zero). @end deftypefun @deftypefun int mpfr_pow (mpfr_t @var{rop}, mpfr_t @var{op1}, mpfr_t @var{op2}, mpfr_rnd_t @var{rnd}) |