FPWRAP_WORK_LIMIT
#include <flint/arb_fpwrap.h>FPWRAP_WORK_LIMITsourceThe unit (value 65536) for the maximal working precision: with n \cdotFPWRAP_WORK_LIMIT added to flags, the wrappers try the precisions 64, 128, \ldots, 64 \cdot 2^{n} bits (at most 64 \cdot 2^{24}). The default n = 0 tries 64, 128, \ldots, 8192 bits.
The implementation stops after the precision 64 \cdot 2^n, that is, after n + 1 precision levels for n \ge 1, while the default uses 8 levels, the same as n = 7. With 2 * FPWRAP_WORK_LIMIT the wrappers thus try 64, 128 and 256 bits (the documentation of FLINT 3.6 and earlier stated n levels).
Guides#
The FLINT team, “FPWRAP_WORK_LIMIT (arb_fpwrap.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arb_fpwrap/FPWRAP_WORK_LIMIT.html (generated 2026-10-20).
@misc{flint-doc-arb-fpwrap-FPWRAP-WORK-LIMIT,
author = {{The FLINT team}},
title = {{FPWRAP\_WORK\_LIMIT (arb\_fpwrap.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/arb_fpwrap/FPWRAP_WORK_LIMIT.html},
note = {Generated 2026-10-20}
}