FLINT3.7.0-dev

arb_log_hypot

Synopsis#include <flint/arb.h>
void arb_log_hypot(arb_t res, const arb_t x, const arb_t y, slong prec)source

Sets res to \log \sqrt{x^2 + y^2}, accurately also when x^2 + y^2 is close to 1. This is the real part of the complex logarithm.

Guides#

Cite this page

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