mag_get_fmpq, mag_get_fmpz, mag_get_fmpz_lower
Synopsis
#include <flint/mag.h>The caller must make sure that x has a reasonable size. An infinite x or one with a huge exponent raises an exception, and an exponent that is merely large can exhaust memory.
Cite this page
The FLINT team, “mag_get_fmpq, mag_get_fmpz, mag_get_fmpz_lower (mag.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mag/mag_get_fmpq.html (generated 2026-10-20).
@misc{flint-doc-mag-mag-get-fmpq,
author = {{The FLINT team}},
title = {{mag\_get\_fmpq, mag\_get\_fmpz, mag\_get\_fmpz\_lower (mag.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mag/mag_get_fmpq.html},
note = {Generated 2026-10-20}
}