FLINT3.7.0-dev

bernoulli_global_prec

Synopsis#include <flint/bernoulli.h>
slong bernoulli_global_prec(ulong nmax)source

Returns the working precision of the iterator for B_{\mathit{nmax}}: arith_bernoulli_number_size(nmax) + bernoulli_denom_size(nmax). No guard bits are added, as the denominator estimate is pessimistic.

Cite this page

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