FLINT3.7.0-dev

decimal_ctx_clear, decimal_ctx_write

Synopsis#include <flint/decimal.h>
void decimal_ctx_clear(gr_ctx_t ctx)source
int decimal_ctx_write(gr_stream_t out, gr_ctx_t ctx)source

The gr methods for clearing a decimal context (called by gr_ctx_clear) and for printing a description of it (called by gr_ctx_write), such as Decimal floating-point numbers (prec 30, rnd near).

Cite this page

The FLINT team, “decimal_ctx_clear, decimal_ctx_write (decimal.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/decimal/decimal_ctx_clear.html (generated 2026-10-20).