mp_real_zero, mp_real_set, mp_real_set_ui, mp_real_set_si, mp_real_set_fmpz
Synopsis
#include <flint/mp_real.h>Set the ball to exact zero, to a copy of x, or to the exact integer c resp. f.
mp_real_set_fmpz copies the limbs of f above its low zero limbs directly into the mantissa, without temporaries.
Guides#
Cite this page
The FLINT team, “mp_real_zero, mp_real_set, mp_real_set_ui, mp_real_set_si, mp_real_set_fmpz (mp_real.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mp_real/mp_real_zero.html (generated 2026-10-20).
@misc{flint-doc-mp-real-mp-real-zero,
author = {{The FLINT team}},
title = {{mp\_real\_zero, mp\_real\_set, mp\_real\_set\_ui, mp\_real\_set\_si, mp\_real\_set\_fmpz (mp\_real.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mp_real/mp_real_zero.html},
note = {Generated 2026-10-20}
}