FLINT3.7.0-dev

arf_get_si

Synopsis#include <flint/arf.h>
slong arf_get_si(const arf_t x, arf_rnd_t rnd)source

Returns x rounded to an integer in the direction rnd (ties to even for ARF_RND_NEAR). Raises an exception if x is infinite, NaN, or if the rounded value does not fit in an slong.

Cite this page

The FLINT team, “arf_get_si (arf.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arf/arf_get_si.html (generated 2026-10-20).