From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Date: Mon, 19 Nov 2007 10:15:09 +0000 From: "Douglas A. Gwyn" Message-ID: <473E4D86.598F4210@null.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <473CA84C.36276EF9@null.net>, <88FF26A2-990F-4481-B3C7-153565E069BF@mac.com> Subject: Re: [9fans] Problems with pcc Topicbox-Message-UUID: 01211d76-ead3-11e9-9d60-3106f5b1d025 Pietro Gagliardi wrote: > double cbrt(double x) { return pow(x, 1.0 / 3.0); } Yeah, that's why I never felt the need to build it into the language. > I'm trying to find an intuitive implementation of gamma(). ? Gamma isn't very intuitive. It is essentially the factorial function "!" (with argument offset by 1) for the counting numbers, so you can think of the real part as the "natural" interpolating function for factorial.