Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
error_and_gamma.hpp File Reference
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <limits>
#include <vector>
#include <universal/number/einteger/core.hpp>

Classes

struct  sw::universal::ereal_detail::scaled_value< maxlimbs, FpType >

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal
namespace  sw::universal::ereal_detail

Functions

template<unsigned n, unsigned m, typename FpType>
ereal< n, FpType > sw::universal::ereal_detail::convert_limbs (const ereal< m, FpType > &v)
template<typename FpType>
constexpr unsigned sw::universal::ereal_detail::max_ereal_limbs ()
template<unsigned maxlimbs, typename FpType>
constexpr unsigned sw::universal::ereal_detail::erfc_wide_limbs ()
double sw::universal::ereal_detail::erfc_bits (double x2)
template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::ereal_detail::two_over_sqrt_pi ()
template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::ereal_detail::scaled_exp_minus (const ereal< maxlimbs, FpType > &x2, long long &n)
template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::ereal_detail::erf_series (const ereal< maxlimbs, FpType > &x)
template<unsigned maxlimbs, typename FpType>
bool sw::universal::ereal_detail::erfc_asymptotic_reaches (double x2)
template<typename FpType>
bool sw::universal::ereal_detail::erf_series_overflows (double x2)
template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::ereal_detail::erfc_asymptotic (const ereal< maxlimbs, FpType > &x)
template<unsigned maxlimbs, typename FpType>
double sw::universal::ereal_detail::erfc_fraction_steps (double x)
template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::ereal_detail::erfc_continued_fraction (const ereal< maxlimbs, FpType > &x)
template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::ereal_detail::erfc_positive (const ereal< maxlimbs, FpType > &x)
template<unsigned maxlimbs, typename FpType>
constexpr int sw::universal::ereal_detail::stirling_z0 ()
template<unsigned maxlimbs, typename FpType>
void sw::universal::ereal_detail::normalize (scaled_value< maxlimbs, FpType > &v)
template<unsigned maxlimbs, typename FpType>
const std::vector< scaled_value< maxlimbs, FpType > > & sw::universal::ereal_detail::stirling_coefficients ()
template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::ereal_detail::half_log_two_pi ()
template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::ereal_detail::lgamma_positive (const ereal< maxlimbs, FpType > &x)
template<unsigned maxlimbs, typename FpType>
bool sw::universal::ereal_detail::is_gamma_pole (const ereal< maxlimbs, FpType > &x)
template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::ereal_detail::lgamma_abs (const ereal< maxlimbs, FpType > &x, bool &negative)
template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::erf (const ereal< maxlimbs, FpType > &x)
template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::erfc (const ereal< maxlimbs, FpType > &x)
template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::lgamma (const ereal< maxlimbs, FpType > &x)
template<unsigned maxlimbs, typename FpType>
ereal< maxlimbs, FpType > sw::universal::tgamma (const ereal< maxlimbs, FpType > &x)