FLINT3.7.0-dev

_mp_real_rel_table, _mp_real_rel_table_is_cached

Synopsis#include <flint/mp_real.h>
const mp_real_rel_struct * _mp_real_rel_table(int gaussian, slong num)source
int _mp_real_rel_table_is_cached(int gaussian, slong num)source

Return the relation table for the first num primes or Gaussian primes, 2 \le \mathit{num} \le MP_REAL_REL_MAX, respectively whether a call would find it ready.

Tables for num = 2, 4, 6, 8, 10, 12, 13, 16, 20, 24, 32, 40 and 48 are stored in the library; other sizes are generated on first use (seconds around 48 primes) and cached per thread until flint_cleanup.

Cite this page

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