FLINT3.7.0-dev

mag_log, mag_log_lower

Synopsis#include <flint/mag.h>
void mag_log(mag_t res, const mag_t x)source
void mag_log_lower(mag_t res, const mag_t x)source

Set res to an upper, respectively lower, bound for \log(\max(1, x)).

Cite this page

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