FLINT3.7.0-dev

mag_log1p

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

Sets res to an upper bound for \log(1 + x), with small relative error also when x is small.

Cite this page

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