mp_real_machin_struct
Synopsis
#include <flint/mp_real.h>mp_real_machin_structA Machin-type set
\log p_i = \frac{1}{\mathit{den}} \sum_j c_{ij}\operatorname{atanh}\frac{1}{x_j},
\qquad
\arg \pi_i = \frac{1}{\mathit{den}} \sum_j c_{ij}\operatorname{atan}\frac{1}{x_j},
with fields num, x (the arguments, MP_REAL_MACHIN_X_LIMBS limbs each), den, cbits (one more than the largest bit length of a coefficient) and gaussian. The coefficient matrix is not stored but reconstructed on first use.
Cite this page
The FLINT team, “mp_real_machin_struct (mp_real.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mp_real/mp_real_machin_struct.html (generated 2026-10-20).
@misc{flint-doc-mp-real-mp-real-machin-struct,
author = {{The FLINT team}},
title = {{mp\_real\_machin\_struct (mp\_real.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mp_real/mp_real_machin_struct.html},
note = {Generated 2026-10-20}
}