FLINT3.7.0-dev

_arf_set_round_uiui

Synopsis#include <flint/arf.h>
int _arf_set_round_uiui(arf_t z, slong * fix, ulong hi, ulong lo, int sgnbit, slong prec, arf_rnd_t rnd)source

Sets the mantissa of z to the two-limb value (\mathit{hi}, \mathit{lo}), negated if sgnbit is 1, rounded to prec bits. Requires a nonzero value. Writes the exponent shift to fix without setting the exponent of z.

Cite this page

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