#include <stdio.h>
#include <math.h>

int main(){
 
printf("%f", sin(45));
}

 

사인 45도 구하는 함수인데 출력해보면

0.850904 가 나온다

 

원래 계산하면 0.7071067..로 나와야 하는거 아님?