Lines Matching refs:threshold
1 /* Tune various threshold of MPFR
367 domeasure (mpfr_prec_t *threshold,
387 *threshold = MPFR_PREC_MAX;
389 *threshold = 1;
467 /* Tune a function with a simple THRESHOLD
468 The function doesn't depend on another threshold.
469 It assumes that it uses algo1 if p < THRESHOLD
474 tune_simple_func (mpfr_prec_t *threshold,
487 d = domeasure (threshold, func, pmin);
493 *threshold = pmin;
499 d = domeasure (threshold, func, pmin);
508 d = domeasure (threshold, func, pmin);
518 d = domeasure (threshold, func, pmax);
524 /* The threshold is between pmin and pmax. Affine them */
534 measure[i] = domeasure (threshold, func,
550 *threshold = p;
552 printf ("Quick find: %lu\n", *threshold);
561 measure[i] = domeasure (threshold, func, pmin+i);
563 *threshold = pmin + i;
565 printf ("%lu\n", *threshold);
653 /* The threshold is between pmin and pmax. Affine them */
992 * Tune all the threshold of MPFR *
1067 /* Tune mpfr_mul (threshold is in limbs, but it doesn't matter too much) */
1075 /* Tune mpfr_sqr (threshold is in limbs, but it doesn't matter too much) */
1083 /* Tune mpfr_div (threshold is in limbs, but it doesn't matter too much) */
1156 fprintf (f, "#define MPFR_AI_THRESHOLD1 %ld /* threshold for negative input of mpfr_ai */\n", mpfr_ai_threshold1);