diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-03-17 08:45:08 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-03-17 08:45:08 +0000 |
commit | 0053edb12c78f5619ad79adf8bddf4b35245bc02 (patch) | |
tree | 939ecd076e8b3d35d4283420c977e88938fbb38a /exp.c | |
parent | 8c58e4a2d11fe6bc66a3f2f4c8b6221e1f8e688e (diff) | |
download | mpfr-0053edb12c78f5619ad79adf8bddf4b35245bc02.tar.gz |
Rename mpfr_exp3 in mpfr_exp_3.
Update THRESHOLD for mpfr_exp.
Add MPFR_EXP_THRESHOLD.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2848 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'exp.c')
-rw-r--r-- | exp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -102,8 +102,8 @@ mpfr_exp (mpfr_ptr y, mpfr_srcptr x, mp_rnd_t rnd_mode) return -MPFR_FROM_SIGN_TO_INT(signx); } - if (precy > 13000) - return mpfr_exp3 (y, x, rnd_mode); /* O(M(n) log(n)^2) */ + if (precy > MPFR_EXP_THRESHOLD) + return mpfr_exp_3 (y, x, rnd_mode); /* O(M(n) log(n)^2) */ else return mpfr_exp_2 (y, x, rnd_mode); /* O(n^(1/3) M(n)) */ } |