FLINT3.7.0-dev

nfloat_get_fmpz

Synopsis#include <flint/nfloat.h>
int nfloat_get_fmpz(fmpz_t res, nfloat_srcptr x, gr_ctx_t ctx)source

Sets res to x if x is an integer and returns GR_SUCCESS; returns GR_DOMAIN if x is not an integer and GR_UNABLE if it is infinite or NaN.

Guides#

Cite this page

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