_arb_get_mpn_fixed_mod_pi4
Synopsis
#include <flint/arb.h>int _arb_get_mpn_fixed_mod_pi4(nn_ptr w, fmpz_t q, int * octant, ulong * error, const arf_t x, slong wn)sourceAttempts to write |x| = q \pi/4 + w with 0 \le w < \pi/4, w a fixed-point number of wn limbs with error error ulps, and writes q \bmod 8 to octant. q may be NULL. Returns 0 if the precision of the internal table of \pi is insufficient.
Cite this page
The FLINT team, “_arb_get_mpn_fixed_mod_pi4 (arb.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arb/_arb_get_mpn_fixed_mod_pi4.html (generated 2026-10-20).
@misc{flint-doc-arb-arb-get-mpn-fixed-mod-pi4,
author = {{The FLINT team}},
title = {{\_arb\_get\_mpn\_fixed\_mod\_pi4 (arb.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/arb/_arb_get_mpn_fixed_mod_pi4.html},
note = {Generated 2026-10-20}
}