Re:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Walter,

On 5/19/21 11:08 PM, Radisson97@xxxxxx wrote:
 From 765db7b7714514780b4e613c6d09d2ff454b1ef8 Mon Sep 17 00:00:00 2001
From: Harms <wharms@xxxxxx>
Date: Wed, 19 May 2021 22:25:08 +0200
Subject: [PATCH] gamma.3:Add reentrant functions gamma_r

Add three variants of gamma_r and explain
the use of the second argument sig

Signed-off-by: Harms <wharms@xxxxxx>

I just read the manual page about gamma, and those functions/macros are deprecated (use either lgamma or tgamma instead). As far as I can read, those alternative functions have all the functionality one can need, so I guess there's zero reasons to use gamma at all, which is a misleading alias for lgamma. I think I won't patch that page at all.

The glibc source code itself has a comment saying that gamma macros are obsolete:

[
#if defined __USE_MISC || (defined __USE_XOPEN && !defined  __USE_XOPEN2K)
# if !__MATH_DECLARING_FLOATN
/* Obsolete alias for `lgamma'.  */
__MATHCALL (gamma,, (_Mdouble_));
# endif
#endif
]

Thanks,

Alex


--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
Senior SW Engineer; http://www.alejandro-colomar.es/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux