summaryrefslogtreecommitdiff
path: root/mpfr-impl.h
diff options
context:
space:
mode:
authorschevill <schevill@280ebfd0-de03-0410-8827-d642c229c3f4>2010-07-20 12:32:42 +0000
committerschevill <schevill@280ebfd0-de03-0410-8827-d642c229c3f4>2010-07-20 12:32:42 +0000
commitf7b38c4a92202bdb6215cbb61912a326d8551ee0 (patch)
treed49118a1e6942637cbad55eee4ede7c7f096f229 /mpfr-impl.h
parent777972783dc7829abbc8a88cba53c8578abb85ac (diff)
downloadmpfr-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 'mpfr-impl.h')
-rw-r--r--mpfr-impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mpfr-impl.h b/mpfr-impl.h
index 6338e07fb..de62e58e0 100644
--- a/mpfr-impl.h
+++ b/mpfr-impl.h
@@ -377,6 +377,9 @@ __MPFR_DECLSPEC extern const mpfr_t __gmpfr_four;
****************** double macros *********************
******************************************************/
+/* Precision used for lower precision computations */
+#define MPFR_SMALL_PRECISION 32
+
/* Definition of constants */
#define LOG2 0.69314718055994528622 /* log(2) rounded to zero on 53 bits */
#define ALPHA 4.3191365662914471407 /* a+2 = a*log(a), rounded to +infinity */