gr_transformed_mpn_get_window, gr_transformed_mpn_get_window_destructive
#include <flint/gr.h>int gr_transformed_mpn_get_window_destructive(nn_ptr z, slong zn, slong lo, gr_ptr x, gr_ctx_t ctx)sourceWindow conversion out, for signed contexts: z receives the limbs [\mathit{lo}, \mathit{lo} + \mathit{zn}) of the value as a two's-complement window, within one unit of \lfloor x / B^{lo} \rfloor (two when the element carries a small side value, which is folded in exactly only for \mathit{lo} = 0) and exact for \mathit{lo} = 0; the value need not fit. The sign is applied in transform space, so the window is that of the signed value. This is the conversion for windowed contexts with cyclic plans. Returns GR_UNABLE for unsigned contexts.
The FLINT team, “gr_transformed_mpn_get_window, gr_transformed_mpn_get_window_destructive (gr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr/gr_transformed_mpn_get_window.html (generated 2026-10-20).
@misc{flint-doc-gr-gr-transformed-mpn-get-window,
author = {{The FLINT team}},
title = {{gr\_transformed\_mpn\_get\_window, gr\_transformed\_mpn\_get\_window\_destructive (gr.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr/gr_transformed_mpn_get_window.html},
note = {Generated 2026-10-20}
}