void _arb_poly_evaluate2(arb_t y, arb_t z, arb_srcptr f, long len, const arb_t x, long prec) { if ((prec >= 1024) && (len >= 5 + 20000 / prec)) { long fbits; fbits = _arb_vec_bits(f, len); if (fbits <= prec / 2) { _arb_poly_evaluate2_rectangular(y, z, f, len, x, prec); return; } } _arb_poly_evaluate2_horner(y, z, f, len, x, prec); }
void _arb_poly_evaluate(arb_t res, arb_srcptr f, slong len, const arb_t x, slong prec) { if ((prec >= 1024) && (len >= 5 + 20000 / prec)) { slong fbits; fbits = _arb_vec_bits(f, len); if (fbits <= prec / 2) { _arb_poly_evaluate_rectangular(res, f, len, x, prec); return; } } _arb_poly_evaluate_horner(res, f, len, x, prec); }