summaryrefslogtreecommitdiff
path: root/exp.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2000-02-02 15:49:49 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2000-02-02 15:49:49 +0000
commitaacc3e6609803eca57916676bd0a599aeb340892 (patch)
treec0c1db98f79bafb6b180f1fcecc1b19a8fd0ac60 /exp.c
parent59379e7be22f5502af64949df4bbf8d3cccfdd86 (diff)
downloadmpfr-aacc3e6609803eca57916676bd0a599aeb340892.tar.gz
moved debug messages to stdout
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@432 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'exp.c')
-rw-r--r--exp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/exp.c b/exp.c
index 5a42670db..c3ec218a0 100644
--- a/exp.c
+++ b/exp.c
@@ -129,7 +129,7 @@ mpfr_exp(y, x, rnd_mode)
l++;
} while (EXP(t)+expr > -q);
#ifdef DEBUG
- fprintf(stderr,"l=%d q=%d (K+l)*q^2=%1.3e\n", l, q, (K+l)*(double)q*q);
+ printf("l=%d q=%d (K+l)*q^2=%1.3e\n", l, q, (K+l)*(double)q*q);
#endif
/* add 2 ulp to take into account rest of summation */
@@ -160,7 +160,7 @@ mpfr_exp(y, x, rnd_mode)
l = mpfr_can_round(s, q-K, GMP_RNDU, rnd_mode, precy);
if (l==0) {
#ifdef DEBUG
- fprintf(stderr,"not enough precision, use %d\n", q+BITS_PER_MP_LIMB);
+ printf("not enough precision, use %d\n", q+BITS_PER_MP_LIMB);
printf("q=%d q-K=%d precy=%d\n",q,q-K,precy);
#endif
q += BITS_PER_MP_LIMB;