GR_MUST_SUCCEED
Synopsis
#include <flint/gr.h>GR_MUST_SUCCEED(expr)sourceEvaluates expr and throws an exception with flint_throw (abort by default) if the result is not GR_SUCCESS. Use it when failure is impossible or fatal.
Guides#
- Getting started with generic rings
- Getting started (
gr_dft) - Algorithms, complex mode and threads (
gr_dft) - Linear algebra over general and inexact rings (
gr_mat) - Getting started with multivariate polynomials (
gr_mpoly) - Getting started with gr_poly (
gr_poly) - Working with power series rings (
gr_series) - Using mpn_mod (
mpn_mod) - Getting started with padic_radix (
padic_radix)
Cite this page
The FLINT team, “GR_MUST_SUCCEED (gr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr/GR_MUST_SUCCEED.html (generated 2026-10-20).
@misc{flint-doc-gr-GR-MUST-SUCCEED,
author = {{The FLINT team}},
title = {{GR\_MUST\_SUCCEED (gr.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr/GR_MUST_SUCCEED.html},
note = {Generated 2026-10-20}
}