FLINT3.7.0-dev

mag_log_ui

Synopsis#include <flint/mag.h>
void mag_log_ui(mag_t res, ulong n)source

Sets res to an upper bound for \log n. For n = 0 the result is +\infty.

Cite this page

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