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)sourceSets 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).
@misc{flint-doc-fft-fft-butterfly-sqrt2,
author = {{The FLINT team}},
title = {{fft\_butterfly\_sqrt2 (fft.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fft/fft_butterfly_sqrt2.html},
note = {Generated 2026-10-20}
}