flint_mpn_signed_div2
Synopsis
#include <flint/mpn_extras.h>void flint_mpn_signed_div2(mp_ptr res, mp_srcptr x, mp_size_t n)sourceSets (\mathit{res}, n) to x / 2 rounded towards -\infty, where x is read as an n-limb two's complement integer (an arithmetic shift right by one bit). The output may alias the input.
Cite this page
The FLINT team, “flint_mpn_signed_div2 (mpn_extras.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mpn_extras/flint_mpn_signed_div2.html (generated 2026-10-20).
@misc{flint-doc-mpn-extras-flint-mpn-signed-div2,
author = {{The FLINT team}},
title = {{flint\_mpn\_signed\_div2 (mpn\_extras.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mpn_extras/flint_mpn_signed_div2.html},
note = {Generated 2026-10-20}
}