FLINT3.7.0-dev

gr_pos_inf, gr_neg_inf, gr_uinf, gr_undefined, gr_unknown

Synopsis#include <flint/gr.h>
int gr_pos_inf(gr_ptr res, gr_ctx_t ctx)source
int gr_neg_inf(gr_ptr res, gr_ctx_t ctx)source
int gr_uinf(gr_ptr res, gr_ctx_t ctx)source
int gr_undefined(gr_ptr res, gr_ctx_t ctx)source
int gr_unknown(gr_ptr res, gr_ctx_t ctx)source

Set res to +\infty, -\infty, the unsigned infinity \tilde \infty, the value Undefined or the value Unknown. Only extended structures such as gr_ctx_init_complex_extended_ca and the floating-point contexts have such elements; other rings return GR_DOMAIN or GR_UNABLE.

Cite this page

The FLINT team, “gr_pos_inf, gr_neg_inf, gr_uinf, gr_undefined, gr_unknown (gr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr/gr_pos_inf.html (generated 2026-10-20).