FLINT3.7.0-dev

_nfloat_underflow, _nfloat_overflow

Synopsis#include <flint/nfloat.h>
int _nfloat_underflow(nfloat_ptr res, int sgnbit, gr_ctx_t ctx)source
int _nfloat_overflow(nfloat_ptr res, int sgnbit, gr_ctx_t ctx)source

Set res to the result of an underflow (zero, returning GR_SUCCESS only with NFLOAT_ALLOW_UNDERFLOW) or an overflow (a signed infinity with NFLOAT_ALLOW_INF, otherwise zero and GR_UNABLE).

Cite this page

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