// mathLog.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <math.h>
#include <stdio.h>
int main(void)
{
int a=800;
double jieguo;
jieguo=log(800);
//printf("%ld\n",jieguo);
printf("%lf\n",jieguo);
printf("%lf\n",pow(exp(1),jieguo));
///
jieguo=log10(800);
printf("%lf\n",jieguo);
printf("%lf\n",pow(10,jieguo));
return 0;
}
/*
6.684612
800.000000
2.903090
800.000000
Press any key to continue
*/