From 5bd7aef7971df1929222d93b437d9392b935c1ff Mon Sep 17 00:00:00 2001 From: vlefevre Date: Thu, 14 Feb 2002 11:36:40 +0000 Subject: mpfr_{div,mul}_2exp -> mpfr_{div,mul}_2ui. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1699 280ebfd0-de03-0410-8827-d642c229c3f4 --- tanh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tanh.c') diff --git a/tanh.c b/tanh.c index e1ef4a90f..13996358c 100644 --- a/tanh.c +++ b/tanh.c @@ -115,7 +115,7 @@ mpfr_tanh (y, xt, rnd_mode) mpfr_set_prec(tb,Nt); /* compute tanh */ - mpfr_mul_2exp(te,x,1,GMP_RNDN); /* 2x */ + mpfr_mul_2ui(te,x,1,GMP_RNDN); /* 2x */ mpfr_exp(te,te,GMP_RNDN); /* exp(2x) */ mpfr_add_ui(ta,te,1,GMP_RNDD); /* exp(2x) + 1*/ mpfr_sub_ui(tb,te,1,GMP_RNDU); /* exp(2x) - 1*/ -- cgit v1.2.1