arf_log, arf_log2, arf_log10, arf_log1p
Synopsis
#include <flint/arf.h>int arf_log(arf_ptr res, arf_srcptr x, slong prec, arf_rnd_t rnd)sourceint arf_log2(arf_ptr res, arf_srcptr x, slong prec, arf_rnd_t rnd)sourceint arf_log10(arf_ptr res, arf_srcptr x, slong prec, arf_rnd_t rnd)sourceint arf_log1p(arf_ptr res, arf_srcptr x, slong prec, arf_rnd_t rnd)sourceSets res to , , resp. . The exact cases are , of a power of two, of a power of ten and . A negative argument (below for log1p) gives NaN, zero (resp. ) gives .
Cite this page
The FLINT team, “arf_log, arf_log2, arf_log10, arf_log1p (arf.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arf/arf_log.html (generated 2026-11-17).
@misc{flint-doc-arf-arf-log,
author = {{The FLINT team}},
title = {{arf\_log, arf\_log2, arf\_log10, arf\_log1p (arf.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/arf/arf_log.html},
note = {Generated 2026-11-17}
}