gamma(3) Library Functions Manual gamma(3) gamma, gammaf, gammal - - LIBRARY Math library (libm, -lm) #include [[deprecated]] double gamma(double x); [[deprecated]] float gammaf(float x); [[deprecated]] long double gammal(long double x); glibc (. feature_test_macros(7)): gamma(): _XOPEN_SOURCE || /* glibc 2.19: */ _DEFAULT_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE gammaf(), gammal(): _XOPEN_SOURCE >= 600 || (_XOPEN_SOURCE && _ISOC99_SOURCE) || /* Since glibc 2.19: */ _DEFAULT_SOURCE || /* glibc <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE . , , tgamma(3) lgamma(3). - tgamma(3). *BSD libm 4.4BSD FreeBSD gamma(), -, . glibc glibc has a gamma() function that is equivalent to lgamma(3) and computes the natural logarithm of the Gamma function. lgamma(3). lgamma(3). attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |gamma(), gammaf(), gammal() | | MT-Unsafe race:signgam | +----------------------------+----------------------------------------------------------+--------------------------+ None. SVID 2. Because of historical variations in behavior across systems, this function is not specified in any recent standard. 4.2BSD gamma() ln(|Gamma(|x|)|), Gamma(|x|) signgam. 4.3BSD lgamma(3), " gamma -" 4.4BSD, gamma() - ( signgam). , tgamma(3), <<>> -. . lgamma(3), signgam(3), tgamma(3) Azamat Hackimov , Dmitry Bolkhovskikh , Vladislav , Yuri Kozlov ; GNU 3 , . . , , . Linux man-pages 6.06 31 2023 . gamma(3)