FLINT3.7.0-dev

_arf_inv_newton, _arf_div_newton, _arf_sqrt_newton, _arf_rsqrt_newton

Synopsis#include <flint/arf.h>
int _arf_inv_newton(arf_t res, const arf_t x, slong prec, arf_rnd_t rnd)source
int _arf_div_newton(arf_t res, const arf_t x, const arf_t y, slong prec, arf_rnd_t rnd)source
int _arf_sqrt_newton(arf_t res, const arf_t x, slong prec, arf_rnd_t rnd)source
int _arf_rsqrt_newton(arf_t res, const arf_t x, slong prec, arf_rnd_t rnd)source

Compute 1/x, x/y, \sqrt{x} and 1/\sqrt{x} for a relaxed mode rnd by Newton iteration, with the error bounds stated for ARF_RND_FAST. Require finite nonzero (positive, for the roots) input. Return the inexact flag of the result (0 if and only if res equals the exact value; see ARF_RND_FAST for how it is determined).

Cite this page

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