FLINT3.7.0-dev

fft_butterfly_sqrt2

Synopsis#include <flint/fft.h>
void fft_butterfly_sqrt2(mp_limb_t * s, mp_limb_t * t, mp_limb_t * i1, mp_limb_t * i2, mp_size_t i, mp_size_t limbs, flint_bitcnt_t w, mp_limb_t * temp)source

Sets s = i_1 + i_2 and t = \sqrt 2^{\,iw} (i_1 - i_2) modulo p, for odd i < 2n and odd w, where nw = N. temp is scratch space of \mathit{limbs} + 1 limbs.

Cite this page

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