_arf_mpn_div_approx, _arf_mpn_inv_approx, _arf_mpn_sqrt_approx, _arf_mpn_rsqrt_approx
#include <flint/arf.h>void _arf_mpn_div_approx(nn_ptr z, slong * zexp, nn_srcptr x, slong xn, nn_srcptr y, slong yn, slong prec)sourceAs above, but the limbs are written without rounding and without a flag (the kernels of nfloat without directed rounding): the quotients are the truncation or one ulp more (an error below an ulp, up to the truncation of operands beyond limbs; the truncation itself for a divisor with a single nonzero limb), the square root is the truncation, and the reciprocal square root is within ulp.
The quotient uses the register and chain paths above without the rounding step, and otherwise the schoolbook approximate division at limbs (_flint_mpn_divapprox_basecase_preinv1, the floor or one more) up to 80 limbs, with the divisor truncated to limbs and the dividend to ; beyond that, and for two-limb divisors, the guard-limb quotient truncated. The square root is the exact root up to the Newton range, and the reciprocal square root the one- or two-limb register kernel without certification, or the guard-limb root truncated.
The FLINT team, “_arf_mpn_div_approx, _arf_mpn_inv_approx, _arf_mpn_sqrt_approx, _arf_mpn_rsqrt_approx (arf.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arf/_arf_mpn_div_approx.html (generated 2026-11-20).
@misc{flint-doc-arf-arf-mpn-div-approx,
author = {{The FLINT team}},
title = {{\_arf\_mpn\_div\_approx, \_arf\_mpn\_inv\_approx, \_arf\_mpn\_sqrt\_approx, \_arf\_mpn\_rsqrt\_approx (arf.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/arf/_arf_mpn_div_approx.html},
note = {Generated 2026-11-20}
}