FLINT3.7.0-dev

truth_t

Synopsis#include <flint/gr.h>
truth_t

An enumeration with the values T_TRUE (0), T_FALSE (1) and T_UNKNOWN (2). Since T_TRUE is zero, a truth_t must never be used as a C condition: write t == T_TRUE or t != T_FALSE according to whether the unknown case should be excluded or included.

Guides#

Cite this page

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