fmpz_abs_lbound_ui_2exp, fmpz_abs_ubound_ui_2exp
Synopsis
#include <flint/fmpz.h>For x \ne 0 and 1 \le bits \le \mathtt{FLINT\_BITS}, return a mantissa m with exactly bits bits and set *exp to e such that m 2^e \le |x| (lower bound, m is |x| truncated), respectively m 2^e \ge |x| (upper bound, m is |x| rounded up, which may increase e by one if the rounding carries).
Cite this page
The FLINT team, “fmpz_abs_lbound_ui_2exp, fmpz_abs_ubound_ui_2exp (fmpz.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz/fmpz_abs_lbound_ui_2exp.html (generated 2026-10-20).
@misc{flint-doc-fmpz-fmpz-abs-lbound-ui-2exp,
author = {{The FLINT team}},
title = {{fmpz\_abs\_lbound\_ui\_2exp, fmpz\_abs\_ubound\_ui\_2exp (fmpz.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz/fmpz_abs_lbound_ui_2exp.html},
note = {Generated 2026-10-20}
}