summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-04-03 15:40:49 +0000
committerzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2012-04-03 15:40:49 +0000
commit5f8b33f52f38f11227612f45c3adb56e0cd3e96e (patch)
tree2cc58765e603b4e7b0d2c965dfd4e9145f9112e1 /doc
parent65855198ef6f55f18e0bc4fb13192fe023904a91 (diff)
downloadmpc-5f8b33f52f38f11227612f45c3adb56e0cd3e96e.tar.gz
added new function mpc_log10
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1149 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'doc')
-rw-r--r--doc/mpc.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/mpc.texi b/doc/mpc.texi
index acb4576..a724877 100644
--- a/doc/mpc.texi
+++ b/doc/mpc.texi
@@ -959,11 +959,12 @@ rounded according to @var{rnd} with the precision of @var{rop}.
@end deftypefun
@deftypefun int mpc_log (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
-Set @var{rop} to the logarithm of @var{op},
+@deftypefunx int mpc_log10 (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
+Set @var{rop} to the natural and base-10 logarithm of @var{op} respectively,
rounded according to @var{rnd} with the precision of @var{rop}.
The principal branch is chosen, with the branch cut on the negative real axis,
so that the imaginary part of the result lies in
-@math{]-\pi , \pi]}.
+@math{]-\pi , \pi]} and @math{]-\pi/log(10) , \pi/log(10)]} respectively.
@end deftypefun