FLINT3.7.0-dev

fmpz_set_d

Synopsis#include <flint/fmpz.h>
void fmpz_set_d(fmpz_t f, double c)source

Sets f to c rounded towards zero. The result is undefined if c is infinite or a NaN.

Guides#

Cite this page

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