FLINT3.7.0-dev

_fmpq_cfrac_list_t

Synopsis#include <flint/fmpq.h>
_fmpq_cfrac_list_t

A growable vector of continued fraction terms (array, length, alloc), with a limit on the number of terms to generate. Setting length to -1 discards the terms, and setting want_alt_sum to \pm 1 accumulates their alternating sum in alt_sum (used by fmpq_dedekind_sum).

Cite this page

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