GR_FRACTION_NO_REDUCTION, GR_FRACTION_STRONGLY_CANONICAL
#include <flint/gr.h>GR_FRACTION_NO_REDUCTIONsourceGR_FRACTION_STRONGLY_CANONICALsourceFlags for gr_ctx_init_gr_fraction. GR_FRACTION_NO_REDUCTION disables the reduction of fractions, which allows fraction field arithmetic over domains without a GCD or canonical associates, and can be faster when GCDs are more expensive than letting the entries grow. GR_FRACTION_STRONGLY_CANONICAL asserts that reduced fractions are strongly canonical (a/b = c/d if and only if a = c and b = d), which allows faster equality tests; this holds in unique factorisation domains with a correct GCD and canonical associates.
The FLINT team, “GR_FRACTION_NO_REDUCTION, GR_FRACTION_STRONGLY_CANONICAL (gr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_domains/GR_FRACTION_NO_REDUCTION.html (generated 2026-10-20).
@misc{flint-doc-gr-domains-GR-FRACTION-NO-REDUCTION,
author = {{The FLINT team}},
title = {{GR\_FRACTION\_NO\_REDUCTION, GR\_FRACTION\_STRONGLY\_CANONICAL (gr.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_domains/GR_FRACTION_NO_REDUCTION.html},
note = {Generated 2026-10-20}
}