summaryrefslogtreecommitdiff
path: root/src/fr_div.c
diff options
context:
space:
mode:
authorAndreas Enge <andreas.enge@inria.fr>2012-09-19 11:17:49 +0000
committerAndreas Enge <andreas.enge@inria.fr>2012-09-19 11:17:49 +0000
commit9d1fd17d4081b2a0ac2de5f1c86d1bc81427a5f9 (patch)
tree5d9efd557b23ca31a5921219c05f41b00f9c7932 /src/fr_div.c
parent75e6da9bb997ede499e9e282317f0c0b3fc92bbd (diff)
downloadmpc-git-rootsunity.tar.gz
merge trunk into branch rootsunityrootsunity
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/mpc/branches/rootsunity@1273 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'src/fr_div.c')
-rw-r--r--src/fr_div.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fr_div.c b/src/fr_div.c
index e57eced..4c0536f 100644
--- a/src/fr_div.c
+++ b/src/fr_div.c
@@ -1,6 +1,6 @@
/* mpc_fr_div -- Divide a floating-point number by a complex number.
-Copyright (C) 2008, 2009, 2011 INRIA
+Copyright (C) 2008, 2009, 2011, 2012 INRIA
This file is part of GNU MPC.
@@ -29,7 +29,7 @@ mpc_fr_div (mpc_ptr a, mpfr_srcptr b, mpc_srcptr c, mpc_rnd_t rnd)
mpc_realref (bc)[0] = b [0];
mpfr_init (mpc_imagref (bc));
/* we consider the operand b to have imaginary part +0 */
- mpfr_set_ui (mpc_imagref (bc), 0, GMP_RNDN);
+ mpfr_set_ui (mpc_imagref (bc), 0, MPFR_RNDN);
inexact = mpc_div (a, bc, c, rnd);