arb_floor, arb_ceil, arb_trunc, arb_nint
Synopsis
#include <flint/arb.h>Set the output to a ball containing \lfloor t \rfloor, \lceil t \rceil, \operatorname{trunc}(t), respectively the nearest integer to t (ties to even), for all t in x, with the midpoint rounded to prec bits.
Cite this page
The FLINT team, “arb_floor, arb_ceil, arb_trunc, arb_nint (arb.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arb/arb_floor.html (generated 2026-10-20).
@misc{flint-doc-arb-arb-floor,
author = {{The FLINT team}},
title = {{arb\_floor, arb\_ceil, arb\_trunc, arb\_nint (arb.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/arb/arb_floor.html},
note = {Generated 2026-10-20}
}