lgamma Function

Computes the natural logarithm of the absolute value of gamma of the argument

inline float lgamma(
   float _X,
   _Out_ int * _Sign
) restrict(amp);
inline double lgamma(
   double _X,
   _Out_ int * _Sign
) restrict(amp);

Parameters

  • _X
    Floating-point value

  • _Sign
    Returns the sign

Return Value

Returns the natural logarithm of the absolute value of gamma of the argument

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

See Also

Reference

Concurrency::precise_math Namespace