3#ifndef TETL_CMATH_LGAMMA_HPP
4#define TETL_CMATH_LGAMMA_HPP
6#include <etl/_3rd_party/gcem/gcem.hpp>
14[[nodiscard]]
constexpr auto lgamma(
float arg)
noexcept ->
float {
return etl::detail::gcem::lgamma(
arg); }
19[[nodiscard]]
constexpr auto lgammaf(
float arg)
noexcept ->
float {
return etl::detail::gcem::lgamma(
arg); }
24[[nodiscard]]
constexpr auto lgamma(
double arg)
noexcept ->
double {
return etl::detail::gcem::lgamma(
arg); }
29[[nodiscard]]
constexpr auto lgamma(
long double arg)
noexcept ->
long double {
return etl::detail::gcem::lgamma(
arg); }
34[[nodiscard]]
constexpr auto lgammal(
long double arg)
noexcept ->
long double {
return etl::detail::gcem::lgamma(
arg); }
40[[nodiscard]]
constexpr auto lgamma(T
arg)
noexcept ->
double
42 return etl::detail::gcem::lgamma(
static_cast<double>(
arg));
constexpr auto lgamma(float arg) noexcept -> float
Computes the natural logarithm of the absolute value of the gamma function of arg.
Definition lgamma.hpp:14
constexpr auto lgammaf(float arg) noexcept -> float
Computes the natural logarithm of the absolute value of the gamma function of arg.
Definition lgamma.hpp:19
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:34
constexpr auto arg(complex< T > const &z) noexcept -> T
Definition arg.hpp:15
Definition adjacent_find.hpp:8