_mp_real_gamma_upper_half_frac_asymp, _mp_real_gamma_upper_half_frac_cf, _mp_real_gamma_upper_half_frac_lower
Synopsis
#include <flint/mp_real.h>int _mp_real_gamma_upper_half_frac_asymp(mp_real_t res, nn_srcptr p, slong pn, nn_srcptr q, slong qn, slong N, slong n)sourceint _mp_real_gamma_upper_half_frac_cf(mp_real_t res, nn_srcptr p, slong pn, nn_srcptr q, slong qn, slong N, slong n)sourcevoid _mp_real_gamma_upper_half_frac_lower(mp_real_t res, nn_srcptr p, slong pn, nn_srcptr q, slong qn, slong n)source by one method: the asymptotic series with terms ( chooses the number of terms), Legendre's continued fraction with steps, resp. the lower series. The first two return 0, leaving res undefined, if the result would not be accurate to about limbs (the series diverges before reaching the accuracy, or the fraction is too short); otherwise they return 1. The domain is that of mp_real_gamma_upper_half_frac. For testing and tuning.
Cite this page
The FLINT team, “_mp_real_gamma_upper_half_frac_asymp, _mp_real_gamma_upper_half_frac_cf, _mp_real_gamma_upper_half_frac_lower (mp_real.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mp_real/_mp_real_gamma_upper_half_frac_asymp.html (generated 2026-11-20).
@misc{flint-doc-mp-real-mp-real-gamma-upper-half-frac-asymp,
author = {{The FLINT team}},
title = {{\_mp\_real\_gamma\_upper\_half\_frac\_asymp, \_mp\_real\_gamma\_upper\_half\_frac\_cf, \_mp\_real\_gamma\_upper\_half\_frac\_lower (mp\_real.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mp_real/_mp_real_gamma_upper_half_frac_asymp.html},
note = {Generated 2026-11-20}
}