summaryrefslogtreecommitdiff
path: root/gmp-impl.h
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2009-12-29 23:54:13 +0100
committerTorbjorn Granlund <tege@gmplib.org>2009-12-29 23:54:13 +0100
commit415cb1f4a7dc325f20f2a16aeee671efa2c005e3 (patch)
treea89c8d19392a934627f7cabc70a57158818e2faa /gmp-impl.h
parentb115c1a70b19e297147478353600be99b29fb82a (diff)
downloadgmp-415cb1f4a7dc325f20f2a16aeee671efa2c005e3.tar.gz
Tune MUPI_DIV_QR_THRESHOLD.
Diffstat (limited to 'gmp-impl.h')
-rw-r--r--gmp-impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gmp-impl.h b/gmp-impl.h
index acc6c0470..de40cdcd3 100644
--- a/gmp-impl.h
+++ b/gmp-impl.h
@@ -1798,6 +1798,10 @@ __GMP_DECLSPEC unsigned long int gmp_nextprime (gmp_primesieve_t *);
#define MU_DIV_QR_THRESHOLD 2000
#endif
+#ifndef MUPI_DIV_QR_THRESHOLD
+#define MUPI_DIV_QR_THRESHOLD 200
+#endif
+
#ifndef MU_BDIV_Q_THRESHOLD
#define MU_BDIV_Q_THRESHOLD 2000
#endif