#include "stdafx.h"
#include "stdio.h"
#include <math.h>
#pragma intrinsinc(sin,cos,tan,asin,acos,atan)
#define RadToDeg 57.29577951f
#define DegToRad 0.017453293f
int main(int argc, char* argv[])
{
#if 0
double angle = 0;
double result;
printf("the angle is %f\n",angle);
result = cos(angle * DegToRad);
//result = result * RadToDeg;
printf("the result is %f\n",result);
return 0;
#else
double value = 0.5;
double angle = 0;
printf("the value is %f\n",value);
angle = asin(value);
printf("the angle is %f\n",angle*RadToDeg);
return 0;
#endif
}