FLINT3.7.0-dev

mag_set_d_lower, mag_set_ui_lower, mag_set_fmpz_lower

Synopsis#include <flint/mag.h>
void mag_set_d_lower(mag_t res, double x)source
void mag_set_ui_lower(mag_t res, ulong x)source
void mag_set_fmpz_lower(mag_t res, const fmpz_t x)source

Set res to a lower bound for |x|. A NaN double gives 0.

Guides#

Cite this page

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