diff options
| author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2011-07-31 08:59:53 +0000 |
|---|---|---|
| committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2011-07-31 08:59:53 +0000 |
| commit | 88b5b5ee10cd8bdc3e10149f486186398be5cb23 (patch) | |
| tree | 84f53f15cc605598c1e7c57e6de4cc63a0b072cc /src/generic | |
| parent | c3308f4337d0bcb4206eb1058af79c8c82822678 (diff) | |
| download | mpfr-88b5b5ee10cd8bdc3e10149f486186398be5cb23.tar.gz | |
Added tuning for MPFR_DIV_THRESHOLD, and default value.
It now remains to do the tuning on the architectures in mparam_in.h.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7768 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/generic')
| -rw-r--r-- | src/generic/mparam.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/generic/mparam.h b/src/generic/mparam.h index 17f4cac81..42df7c7d4 100644 --- a/src/generic/mparam.h +++ b/src/generic/mparam.h @@ -18,6 +18,10 @@ # define MPFR_SQR_THRESHOLD 20 /* limbs */ #endif +#ifndef MPFR_DIV_THRESHOLD +# define MPFR_DIV_THRESHOLD 25 /* limbs */ +#endif + #ifndef MPFR_EXP_2_THRESHOLD # define MPFR_EXP_2_THRESHOLD 100 /* bits */ #endif |
