From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Date: Tue, 20 Nov 2007 09:51:21 +0000 From: "Douglas A. Gwyn" Message-ID: <474202F5.FC56C1E4@null.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <7b5cf09fd7ee547030c620733fb4cee1@terzarima.net>, Subject: Re: [9fans] Problems with pcc Topicbox-Message-UUID: 025adc18-ead3-11e9-9d60-3106f5b1d025 Pietro Gagliardi wrote: > APE does provide the log of gamma: /sys/src/ape/lib/ap/math/gamma.c. > The function is not referenced in any header file, and is called gamma > (). I changed its name to logofgamma ... Since APE is supposed to emulate the *standard* POSIX environment, I suggest restoring the original name in APE (for compatibility with preexisting practice) and duplicating it as lgamma (tracking the C standard, which POSIX references). You could add tgamma as an implementation of the (not log of) Gamma function, again tracking the standard name.