FLINT3.7.0-dev

_flint_mpn_mul_shared_use_fft

Synopsis#include <flint/mpn_extras.h>
int _flint_mpn_mul_shared_use_fft(mp_size_t an, mp_size_t bn, mp_size_t xn)source

Returns nonzero if flint_mpn_mul_shared uses a shared transform for these lengths, that is, if fft_small is available and _fft_small_mpn_mul_shared is expected to beat two separate products. Callers that need the looser aliasing rules of _fft_small_mpn_mul_shared can call it directly when this returns nonzero.

Cite this page

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