From 5f8b33f52f38f11227612f45c3adb56e0cd3e96e Mon Sep 17 00:00:00 2001 From: zimmerma Date: Tue, 3 Apr 2012 15:40:49 +0000 Subject: added new function mpc_log10 git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1149 211d60ee-9f03-0410-a15a-8952a2c7a4e4 --- doc/mpc.texi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc') 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 -- cgit v1.2.1