gr_numerator, gr_denominator
Synopsis
#include <flint/gr.h>Set res to a numerator p, respectively a denominator q, with x = p / q, both in the same ring as x. Fraction fields return the reduced numerator and the canonical denominator; the default is p = x and q = 1.
Cite this page
The FLINT team, “gr_numerator, gr_denominator (gr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr/gr_numerator.html (generated 2026-10-20).
@misc{flint-doc-gr-gr-numerator,
author = {{The FLINT team}},
title = {{gr\_numerator, gr\_denominator (gr.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr/gr_numerator.html},
note = {Generated 2026-10-20}
}