函数名: log
功 能: 对数函数ln(x)
用 法: #include <math.h>
double log(double x);
程序例:
#include <math.h>
#include <stdio.h>
int main(void)
{
double result;
double x = 8.6872;
result = log(x);
printf("The natural log of %lf is %lf\n", x, result);
return 0;
}