FLINT3.7.0-dev

fmpq_get_mpfr

Synopsis#include <flint/fmpq.h>
int fmpq_get_mpfr(mpfr_t dest, const fmpq_t src, mpfr_rnd_t rnd)source

Sets dest to src rounded in the direction rnd at the precision of dest, and returns the ternary value of MPFR (the sign of the rounding error). Declared only if mpfr.h is included before any FLINT header.

Cite this page

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