qqbar_is_zero, qqbar_is_one, qqbar_is_neg_one, qqbar_is_i, qqbar_is_neg_i
Synopsis
#include <flint/qqbar.h>Returns whether x is 0, 1, -1, i or -i. These inspect the minimal polynomial (and the sign of the imaginary part of the enclosure for \pm i) and are therefore very fast.
Cite this page
The FLINT team, “qqbar_is_zero, qqbar_is_one, qqbar_is_neg_one, qqbar_is_i, qqbar_is_neg_i (qqbar.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/qqbar/qqbar_is_zero.html (generated 2026-10-20).
@misc{flint-doc-qqbar-qqbar-is-zero,
author = {{The FLINT team}},
title = {{qqbar\_is\_zero, qqbar\_is\_one, qqbar\_is\_neg\_one, qqbar\_is\_i, qqbar\_is\_neg\_i (qqbar.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/qqbar/qqbar_is_zero.html},
note = {Generated 2026-10-20}
}