FLINT3.7.0-dev

NFLOAT_ALLOW_NAN

Synopsis#include <flint/nfloat.h>
NFLOAT_ALLOW_NANsource

Allows NaN. By default, an operation without a meaningful result (such as 0/0 or \log(-1)) returns GR_UNABLE or GR_DOMAIN; with this flag, it outputs NaN and returns GR_SUCCESS.

Cite this page

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