mpz_fac include path when tuning

This commit is contained in:
jasonmoxham 2009-08-09 04:06:25 +00:00
parent ac986071e7
commit e4f71cac75
3 changed files with 6 additions and 1 deletions

View File

@ -24,8 +24,9 @@ MA 02110-1301, USA. */
#include "gmp-impl.h"
#include "longlong.h"
#ifndef MPZ_FAC_IS_TUNING
#include "fac_ui.h"
#endif
static void odd_product _PROTO ((unsigned long low, unsigned long high, mpz_t * st));
static void ap_product_small _PROTO ((mpz_t ret, mp_limb_t start, mp_limb_t step, unsigned long count, unsigned long nm));

View File

@ -28,4 +28,6 @@ MA 02110-1301, USA.
#define FAC_UI_THRESHOLD 1
#define __gmpz_fac_ui mpz_fac_ui_large
#define MPZ_FAC_IS_TUNING
#include "../mpz/fac_ui.h"
#include "../mpz/fac_ui.c"

View File

@ -28,4 +28,6 @@ MA 02110-1301, USA.
#define FAC_UI_THRESHOLD MP_SIZE_T_MAX
#define __gmpz_fac_ui mpz_fac_ui_small
#define MPZ_FAC_IS_TUNING
#include "../mpz/fac_ui.h"
#include "../mpz/fac_ui.c"