_qqbar_get_fmpq, qqbar_get_fmpq, qqbar_get_fmpz
Synopsis
#include <flint/qqbar.h>Sets the output to the rational number x (as a numerator and denominator for the underscore version), or to the integer x. Throws an exception if x is not rational, respectively not an integer.
Cite this page
The FLINT team, “_qqbar_get_fmpq, qqbar_get_fmpq, qqbar_get_fmpz (qqbar.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/qqbar/_qqbar_get_fmpq.html (generated 2026-10-20).
@misc{flint-doc-qqbar-qqbar-get-fmpq,
author = {{The FLINT team}},
title = {{\_qqbar\_get\_fmpq, qqbar\_get\_fmpq, qqbar\_get\_fmpz (qqbar.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/qqbar/_qqbar_get_fmpq.html},
note = {Generated 2026-10-20}
}