4#ifndef TETL_CMATH_LGAMMA_HPP
5#define TETL_CMATH_LGAMMA_HPP
7#include <etl/_3rd_party/gcem/gcem.hpp>
8#include <etl/_concepts/integral.hpp>
17 return etl::detail::gcem::lgamma(arg);
25 return etl::detail::gcem::lgamma(arg);
33 return etl::detail::gcem::lgamma(arg);
41 return etl::detail::gcem::lgamma(arg);
49 return etl::detail::gcem::lgamma(arg);
56[[nodiscard]]
constexpr auto lgamma(T arg)
noexcept ->
double
58 return etl::detail::gcem::lgamma(
static_cast<
double>(arg));
constexpr auto lgamma(long double arg) noexcept -> long double
Computes the natural logarithm of the absolute value of the gamma function of arg.
Definition lgamma.hpp:39
constexpr auto lgamma(double arg) noexcept -> double
Computes the natural logarithm of the absolute value of the gamma function of arg.
Definition lgamma.hpp:31
constexpr auto lgamma(T arg) noexcept -> double
Computes the natural logarithm of the absolute value of the gamma function of arg.
Definition lgamma.hpp:56
constexpr auto lgamma(float arg) noexcept -> float
Computes the natural logarithm of the absolute value of the gamma function of arg.
Definition lgamma.hpp:15
constexpr auto lgammaf(float arg) noexcept -> float
Computes the natural logarithm of the absolute value of the gamma function of arg.
Definition lgamma.hpp:23
constexpr auto lgammal(long double arg) noexcept -> long double
Computes the natural logarithm of the absolute value of the gamma function of arg.
Definition lgamma.hpp:47
Definition adjacent_find.hpp:9