GR_DEBUG_WRAP, GR_DEBUG_VERBOSE, GR_DEBUG_CHECK_ALWAYS_ABLE, GR_DEBUG_TIMING
Synopsis
#include <flint/gr.h>GR_DEBUG_WRAPsourceGR_DEBUG_VERBOSEsourceGR_DEBUG_CHECK_ALWAYS_ABLEsourceGR_DEBUG_TIMINGsourceFlags for gr_ctx_init_debug. GR_DEBUG_WRAP stores each element in a box with a pointer to its context, which detects elements used with the wrong context and can reveal bugs hidden when elements are stored shallowly. GR_DEBUG_VERBOSE prints every operation with its inputs, output and status. GR_DEBUG_CHECK_ALWAYS_ABLE throws an exception when a wrapped method returns GR_UNABLE or T_UNKNOWN. GR_DEBUG_TIMING prints the time taken by each operation.
Cite this page
The FLINT team, “GR_DEBUG_WRAP, GR_DEBUG_VERBOSE, GR_DEBUG_CHECK_ALWAYS_ABLE, GR_DEBUG_TIMING (gr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_domains/GR_DEBUG_WRAP.html (generated 2026-10-20).
@misc{flint-doc-gr-domains-GR-DEBUG-WRAP,
author = {{The FLINT team}},
title = {{GR\_DEBUG\_WRAP, GR\_DEBUG\_VERBOSE, GR\_DEBUG\_CHECK\_ALWAYS\_ABLE, GR\_DEBUG\_TIMING (gr.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_domains/GR_DEBUG_WRAP.html},
note = {Generated 2026-10-20}
}