diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2021-02-09 12:46:17 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2021-02-09 12:46:17 +0000 |
commit | 9dccee20b5b26810183fafb6e8d94aa7bb4278c8 (patch) | |
tree | 92ab39f79ac1aa22b6b4f1654322ea46485f4702 /doc/mpfr.texi | |
parent | 0c720b09037f6adb52296a1c4c1ee9ed9328d070 (diff) | |
download | mpfr-9dccee20b5b26810183fafb6e8d94aa7bb4278c8.tar.gz |
added mpfr_powr
git-svn-id: https://scm.gforge.inria.fr/anonscm/svn/mpfr/trunk@14414 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'doc/mpfr.texi')
-rw-r--r-- | doc/mpfr.texi | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/mpfr.texi b/doc/mpfr.texi index 87a031c82..5278ac3db 100644 --- a/doc/mpfr.texi +++ b/doc/mpfr.texi @@ -2240,18 +2240,22 @@ rounded in the direction @var{rnd}. @anchor{mpfr_pow} @deftypefun int mpfr_pow (mpfr_t @var{rop}, mpfr_t @var{op1}, mpfr_t @var{op2}, mpfr_rnd_t @var{rnd}) +@deftypefunx int mpfr_powr (mpfr_t @var{rop}, mpfr_t @var{op1}, mpfr_t @var{op2}, mpfr_rnd_t @var{rnd}) @deftypefunx int mpfr_pow_ui (mpfr_t @var{rop}, mpfr_t @var{op1}, unsigned long int @var{op2}, mpfr_rnd_t @var{rnd}) @deftypefunx int mpfr_pow_si (mpfr_t @var{rop}, mpfr_t @var{op1}, long int @var{op2}, mpfr_rnd_t @var{rnd}) @deftypefunx int mpfr_pow_uj (mpfr_t @var{rop}, mpfr_t @var{op1}, uintmax_t @var{op2}, mpfr_rnd_t @var{rnd}) @deftypefunx int mpfr_pow_sj (mpfr_t @var{rop}, mpfr_t @var{op1}, intmax_t @var{op2}, mpfr_rnd_t @var{rnd}) -@deftypefunx int mpfr_pow_n (mpfr_t @var{rop}, mpfr_t @var{op1}, intmax_t @var{op2}, mpfr_rnd_t @var{rnd}) +@deftypefunx int mpfr_pown (mpfr_t @var{rop}, mpfr_t @var{op1}, intmax_t @var{op2}, mpfr_rnd_t @var{rnd}) @deftypefunx int mpfr_pow_z (mpfr_t @var{rop}, mpfr_t @var{op1}, mpz_t @var{op2}, mpfr_rnd_t @var{rnd}) @deftypefunx int mpfr_ui_pow_ui (mpfr_t @var{rop}, unsigned long int @var{op1}, unsigned long int @var{op2}, mpfr_rnd_t @var{rnd}) @deftypefunx int mpfr_ui_pow (mpfr_t @var{rop}, unsigned long int @var{op1}, mpfr_t @var{op2}, mpfr_rnd_t @var{rnd}) Set @var{rop} to @m{@var{op1}^{@var{op2}}, @var{op1} raised to @var{op2}}, rounded in the direction @var{rnd}. -(The @code{mpfr_pow_n} function is just an alias for @code{mpfr_pow_sj}, -to follow the C2x function @code{pown}.) +The @code{mpfr_powr} function corresponds to the @code{powr} function +from IEEE@tie{}754-2019, i.e., it computes the exponential of +@var{op2} multiplied by the logarithm of @var{op1}. +The @code{mpfr_pown} function is just an alias for @code{mpfr_pow_sj}, +to follow the C2x function @code{pown}. Special values are handled as described in the ISO C99 and IEEE@tie{}754-2008 standards for the @code{pow} function: @itemize @bullet @@ -4280,7 +4284,7 @@ use @code{mpfr_get_z_exp}. @item @code{mpfr_nrandom} in MPFR@tie{}4.0. -@item @code{mpfr_pow_sj} and @code{mpfr_pow_uj} in MPFR@tie{}4.2. +@item @code{mpfr_powr}, @code{mpfr_pow_sj} and @code{mpfr_pow_uj} in MPFR@tie{}4.2. @item @code{mpfr_printf} in MPFR@tie{}2.4. |