Lines Matching defs:threshold
1 /* Tune various threshold of MPFR
220 static double domeasure (mpfr_prec_t *threshold,
240 *threshold = MPFR_PREC_MAX;
247 *threshold = 1;
266 The function doesn't depend on another threshold.
272 tune_simple_func (mpfr_prec_t *threshold,
284 d = domeasure (threshold, func, pmin);
289 *threshold = MPFR_PREC_MIN;
294 d = domeasure (threshold, func, pmin);
302 d = domeasure (threshold, func, pmin);
311 d = domeasure (threshold, func, pmax);
317 /* The threshold is between pmin and pmax. Affine them */
326 measure[i] = domeasure (threshold, func,
341 *threshold = p;
343 printf ("Quick find: %lu\n", *threshold);
352 measure[i] = domeasure (threshold, func, pmin+i);
354 *threshold = pmin + i;
356 printf ("%lu\n", *threshold);
522 * Tune all the threshold of MPFR *
586 /* Tune mpfr_mul (threshold is in limbs, but it doesn't matter too much) */