NFLOAT_ALLOW_NAN
Synopsis
#include <flint/nfloat.h>NFLOAT_ALLOW_NANsourceAllows 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).
@misc{flint-doc-nfloat-NFLOAT-ALLOW-NAN,
author = {{The FLINT team}},
title = {{NFLOAT\_ALLOW\_NAN (nfloat.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nfloat/NFLOAT_ALLOW_NAN.html},
note = {Generated 2026-10-20}
}