fmpz_lshift_mpn
Synopsis
#include <flint/fmpz_extras.h>void fmpz_lshift_mpn(fmpz_t z, nn_srcptr src, slong n, int negative, flint_bitcnt_t shift)sourceSets z to the integer given by the n \ge 1 limbs src (with a nonzero top limb), negated if negative is 1, and multiplied by 2^{\mathit{shift}}. Used to convert mantissas of floating-point numbers to integers. The result is demoted if it is small.
Cite this page
The FLINT team, “fmpz_lshift_mpn (fmpz_extras.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_extras/fmpz_lshift_mpn.html (generated 2026-10-20).
@misc{flint-doc-fmpz-extras-fmpz-lshift-mpn,
author = {{The FLINT team}},
title = {{fmpz\_lshift\_mpn (fmpz\_extras.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_extras/fmpz_lshift_mpn.html},
note = {Generated 2026-10-20}
}