gr_log, gr_log1p, gr_log2, gr_log10
Synopsis
#include <flint/gr_special.h>Set res to the principal natural logarithm \log x, to \log(1 + x) (accurate for small x), or to the logarithms in base 2 and 10. GR_DOMAIN for x = 0.
Guides#
Cite this page
The FLINT team, “gr_log, gr_log1p, gr_log2, gr_log10 (gr_special.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_special/gr_log.html (generated 2026-10-20).
@misc{flint-doc-gr-special-gr-log,
author = {{The FLINT team}},
title = {{gr\_log, gr\_log1p, gr\_log2, gr\_log10 (gr\_special.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_special/gr_log.html},
note = {Generated 2026-10-20}
}