FLINT3.7.0-dev

_nfloat_cmp, _nfloat_cmpabs

Synopsis#include <flint/nfloat.h>
int _nfloat_cmp(nfloat_srcptr x, nfloat_srcptr y, gr_ctx_t ctx)source
int _nfloat_cmpabs(nfloat_srcptr x, nfloat_srcptr y, gr_ctx_t ctx)source

Return -1, 0 or 1 according to the comparison of x and y, or of |x| and |y|; neither may be NaN.

Cite this page

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