64,660
社区成员
发帖
与我相关
我的任务
分享
#include <math.h>
#include <stdio.h>
int main(void)
{
double x=42, g_at_x;
g_at_x = exp(lgamma(x)); /* g_at_x = 3.345253e+49 */
printf ("The value of G(%4.2f) is %7.2e\n", x, g_at_x);
return 0;
}