FLINT3.7.0-dev

fft_adjust_sqrt2

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

Sets r to \sqrt 2^{\,iw} i_1 \bmod 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_adjust_sqrt2 (fft.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fft/fft_adjust_sqrt2.html (generated 2026-10-20).