FLINT3.7.0-dev

_arf_call_mpfr_func

Synopsis#include <flint/arf.h>
int _arf_call_mpfr_func(arf_ptr r1, arf_ptr r2, int (*func)(void), arf_srcptr x, arf_srcptr y, slong prec, arf_rnd_t rnd)source

Evaluates the MPFR function func (cast to a generic function pointer) on x (and y, if not NULL) at precision prec, writing one result or, if r2 is not NULL, two results. Returns the MPFR ternary value.

Cite this page

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