_decfloat_pos_inf, _decfloat_neg_inf, _decfloat_nan, _decfloat_operand_status, _decfloat_finalize, _decfloat_finalize_info, _deccfloat_finalize
Synopsis
#include <flint/decimal.h>void _decfloat_pos_inf(decfloat_t res)sourcevoid _decfloat_neg_inf(decfloat_t res)sourcevoid _decfloat_nan(decfloat_t res)sourceint _decfloat_operand_status(const decfloat_t x, gr_ctx_t ctx)sourceint _decfloat_finalize(decfloat_t res, gr_ctx_t ctx)sourceint _decfloat_finalize_info(decfloat_t res, decimal_rounding_info * info, gr_ctx_t ctx)sourceint _deccfloat_finalize(deccfloat_t res, gr_ctx_t ctx)sourceSet a special value regardless of the context flags; return whether x is admitted as an operand (GR_SUCCESS for a finite value or an admitted special value, otherwise GR_DOMAIN for an infinity and GR_UNABLE for NaN); and check the exponent limits and the admitted special values of a computed result, flushing or overflowing it as the context prescribes.
Cite this page
The FLINT team, “_decfloat_pos_inf, _decfloat_neg_inf, _decfloat_nan, _decfloat_operand_status, _decfloat_finalize, _decfloat_finalize_info, _deccfloat_finalize (decimal.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/decimal/_decfloat_pos_inf.html (generated 2026-10-20).
@misc{flint-doc-decimal-decfloat-pos-inf,
author = {{The FLINT team}},
title = {{\_decfloat\_pos\_inf, \_decfloat\_neg\_inf, \_decfloat\_nan, \_decfloat\_operand\_status, \_decfloat\_finalize, \_decfloat\_finalize\_info, \_deccfloat\_finalize (decimal.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/decimal/_decfloat_pos_inf.html},
note = {Generated 2026-10-20}
}