decimal_ctx_struct
Synopsis
#include <flint/decimal.h>decimal_ctx_structThe data of a decimal context, accessed through the macros DECIMAL_CTX_RADIX, DECIMAL_CTX_PREC, DECIMAL_CTX_RND, DECIMAL_CTX_RND_IM, DECIMAL_CTX_FLAGS, DECIMAL_CTX_RAD_PREC, DECIMAL_CTX_EMIN, DECIMAL_CTX_EMAX, DECIMAL_CTX_E (the limb exponent e) and DECIMAL_CTX_B (the limb radix B). The macros DECIMAL_CTX_WHICH, DECIMAL_CTX_IS_BALL and DECIMAL_CTX_IS_COMPLEX identify the kind of the elements.
Cite this page
The FLINT team, “decimal_ctx_struct (decimal.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/decimal/decimal_ctx_struct.html (generated 2026-10-20).
@misc{flint-doc-decimal-decimal-ctx-struct,
author = {{The FLINT team}},
title = {{decimal\_ctx\_struct (decimal.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/decimal/decimal_ctx_struct.html},
note = {Generated 2026-10-20}
}