diff options
author | schevill <schevill@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-07-20 12:32:42 +0000 |
---|---|---|
committer | schevill <schevill@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-07-20 12:32:42 +0000 |
commit | f7b38c4a92202bdb6215cbb61912a326d8551ee0 (patch) | |
tree | d49118a1e6942637cbad55eee4ede7c7f096f229 /mparam_h.in | |
parent | 777972783dc7829abbc8a88cba53c8578abb85ac (diff) | |
download | mpfr-f7b38c4a92202bdb6215cbb61912a326d8551ee0.tar.gz |
Added automatic tuning of mpfr_ai.
More precisely:
* removed ai2.c: both implementations are now in the same file ai.c
* added thresholds and automatic choice of the method to use in function of the thresholds.
* added procedures for tuning functions like ai into tuneup.c
* added a tuning procedure into tuneup.c
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@7007 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mparam_h.in')
-rw-r--r-- | mparam_h.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mparam_h.in b/mparam_h.in index 600933a32..9000a9217 100644 --- a/mparam_h.in +++ b/mparam_h.in @@ -1420,3 +1420,12 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., #ifndef MPFR_SINCOS_THRESHOLD # define MPFR_SINCOS_THRESHOLD 30000 /* bits */ #endif +#ifndef MPFR_AI_THRESHOLD1 +# define MPFR_AI_THRESHOLD1 -13107 +#endif +#ifndef MPFR_AI_THRESHOLD2 +# define MPFR_AI_THRESHOLD2 1311 +#endif +#ifndef MPFR_AI_THRESHOLD3 +# define MPFR_AI_THRESHOLD3 19661 +#endif
\ No newline at end of file |