diff options
author | daney <daney@280ebfd0-de03-0410-8827-d642c229c3f4> | 2001-10-18 13:54:47 +0000 |
---|---|---|
committer | daney <daney@280ebfd0-de03-0410-8827-d642c229c3f4> | 2001-10-18 13:54:47 +0000 |
commit | f770505afdfa24f36ef1c04db34ef0a9f4a2ba53 (patch) | |
tree | 508cf2d1e85650709a9faaa0a2de0ee68d04fe75 | |
parent | a4deca63ef1925dff0234d16b4b7ba23b163769f (diff) | |
download | mpfr-f770505afdfa24f36ef1c04db34ef0a9f4a2ba53.tar.gz |
add the help of ui_pow
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1296 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | mpfr.texi | 26 |
1 files changed, 8 insertions, 18 deletions
@@ -863,6 +863,14 @@ The returned value @var{k} is such that the error in ulps on the result is less than 2 power @var{k}. @end deftypefun +@deftypefun int mpfr_ui_pow (mpfr_t @var{rop}, unsign log int @var{nop}, mpfr_t @var{op}, mp_rnd_t @var{rnd}) +Set @var{rop} to @var{nop} power of @var{op} (pow(@var{nop},@var{op})), +rounded to the direction @var{rnd} with the precision of @var{rop}. +Return zero iff the result is exact, a positive value when the +result is greater than the exponential of @var{op}, and a negative value +when it is smaller. +@end deftypefun + @deftypefun int mpfr_neg (mpfr_t @var{rop}, mpfr_t @var{op}, mp_rnd_t @var{rnd}) Set @var{rop} to @minus{}@var{op} rounded in the direction @var{rnd}. Just changes the sign @@ -1001,7 +1009,6 @@ a positive value when the result is greater than the exponential of @var{op}, and a negative value when it is smaller. @end deftypefun - @deftypefun int mpfr_cos (mpfr_t @var{cop}, mpfr_t @var{op}, mp_rnd_t @var{rnd}) @deftypefunx int mpfr_sin (mpfr_t @var{sop}, mpfr_t @var{op}, mp_rnd_t @var{rnd}) @deftypefunx int mpfr_tan (mpfr_t @var{top}, mpfr_t @var{op}, mp_rnd_t @var{rnd}) @@ -1021,23 +1028,6 @@ Return 0 iff the result is exact (this occurs in fact only when @var{op} is 0 i.e. the result is 1). @end deftypefun -@deftypefun int mpfr_sinh (mpfr_t @var{rop}, mpfr_t @var{op}, mp_rnd_t @var{rnd}) -Set @var{rop} to the hyperbolic sine of @var{op}, -rounded to the direction @var{rnd} with the precision of @var{rop}. -Return 0 iff the result is exact (this occurs in fact only when @var{op} is 0 -i.e. the result is 0). -@end deftypefun - -@deftypefun int mpfr_tanh (mpfr_t @var{rop}, mpfr_t @var{op}, mp_rnd_t @var{rnd}) -Set @var{rop} to the hyperbolic tangent of @var{op}, -rounded to the direction @var{rnd} with the precision of @var{rop}. -Return 0 iff the result is exact (this occurs in fact only when @var{op} is 0 -i.e. the result is 0). -======= -Return zero when the result is exact, a non-zero value otherwise. ->>>>>>> 1.56 -@end deftypefun - @deftypefun int mpfr_acosh (mpfr_t @var{rop}, mpfr_t @var{op}, mp_rnd_t @var{rnd}) @deftypefunx int mpfr_asinh (mpfr_t @var{rop}, mpfr_t @var{op}, mp_rnd_t @var{rnd}) @deftypefunx int mpfr_atanh (mpfr_t @var{rop}, mpfr_t @var{op}, mp_rnd_t @var{rnd}) |