FLINT3.7.0-dev

qqbar_hash

Synopsis#include <flint/qqbar.h>
ulong qqbar_hash(const qqbar_t x)source

Returns a hash of x. Currently only the minimal polynomial is hashed, so conjugates have equal hashes, and similar polynomials give similar hash values; apply an integer hash function to the result if all bits must look random.

Cite this page

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