FLINT3.7.0-dev

_nf_elem_equal

Synopsis#include <flint/nf_elem.h>
int _nf_elem_equal(const nf_elem_t a, const nf_elem_t b, const nf_t nf)source

Returns whether a=ba = b for reduced but not necessarily canonical aa and bb, by cross-multiplication, with a cheap test of the bit sizes first.

Cite this page

The FLINT team, “_nf_elem_equal (nf_elem.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nf_elem/_nf_elem_equal.html (generated 2026-11-02).