FLINT3.7.0-dev

_flint_mpn_poly_karatsuba_may_extend, _flint_mpn_poly_mulmid_use_karatsuba

Synopsis#include <flint/mpn_extras.h>
int _flint_mpn_poly_karatsuba_may_extend(slong norm, slong minlen, slong cutoff)source
int _flint_mpn_poly_mulmid_use_karatsuba(slong minlen, slong norm, int method, slong cutoff)source

Whether the Karatsuba recursion may need to extend an operand with the given headroom by a limb, and whether _flint_mpn_poly_mulmid uses Karatsuba for dot products of minlen terms: never for sign-magnitude coefficients, and with tight headroom only from 1.5 times the cutoff.

Cite this page

The FLINT team, “_flint_mpn_poly_karatsuba_may_extend, _flint_mpn_poly_mulmid_use_karatsuba (mpn_extras.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mpn_extras/_flint_mpn_poly_karatsuba_may_extend.html (generated 2026-10-20).