FLINT3.7.0-dev

FLINT_ASSERT

Synopsis#include <flint/flint.h>
FLINT_ASSERT(cond)source

Checks the condition with the C assert macro if FLINT was configured with --enable-assert, and expands to nothing otherwise. Most preconditions in FLINT are only checked by such assertions.

Cite this page

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