FLINT3.7.0-dev

acf_set_round, acf_neg_round

Synopsis#include <flint/acf.h>
int acf_set_round(acf_t res, const acf_t x, slong prec, arf_rnd_t rnd)source
int acf_neg_round(acf_t res, const acf_t x, slong prec, arf_rnd_t rnd)source

Set res to x, respectively -x, with both parts rounded to prec bits in the direction rnd. Bit 0 of the return value is the inexact flag of the real part and bit 1 that of the imaginary part.

Cite this page

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