FLINT3.7.0-dev

decimal_ctx_struct

Synopsis#include <flint/decimal.h>
decimal_ctx_struct

The 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).