summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-06-14 14:56:16 +0000
committerzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-06-14 14:56:16 +0000
commitc18c007628475d899532f0a5fe8ea4564fcc7a16 (patch)
tree435582f0a152cc496ae15f69a6dc524fd0e136f7 /doc
parentb8d1c4d272737289b2a4cd38dcba03287e97579b (diff)
downloadmpc-c18c007628475d899532f0a5fe8ea4564fcc7a16.tar.gz
[mpc.texi] detail the determination of mpc_sqrt (remark from E. Thome)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1010 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'doc')
-rw-r--r--doc/mpc.texi2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/mpc.texi b/doc/mpc.texi
index 6ac7049..64dd930 100644
--- a/doc/mpc.texi
+++ b/doc/mpc.texi
@@ -990,6 +990,8 @@ rounded according to @var{rnd}, with only one final rounding.
@deftypefun int mpc_sqrt (mpc_t @var{rop}, mpc_t @var{op}, mpc_rnd_t @var{rnd})
Set @var{rop} to the square root of @var{op} rounded according to @var{rnd}.
+The returned value @var{rop} has a non-negative real part, and if its real
+part is zero, a non-negative imaginary part.
@end deftypefun
@deftypefun int mpc_pow (mpc_t @var{rop}, mpc_t @var{op1}, mpc_t @var{op2}, mpc_rnd_t @var{rnd})