FLINT3.7.0-dev

arf_get_mpfr

Synopsis#include <flint/arf.h>
int arf_get_mpfr(mpfr_t x, const arf_t y, mpfr_rnd_t rnd)source

Sets x to y rounded to the precision of x with the MPFR rounding mode rnd, and returns the MPFR ternary value (-1, 0 or 1). An exponent outside the current MPFR exponent range gives an infinity or a zero and sets the MPFR overflow or underflow flag.

Cite this page

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