added acos to angle calc
[physik/posic.git] / vasp_tools / acos.c
1 /* acos */
2
3 #include <stdio.h>
4 #include <math.h>
5 #include <stdlib.h>
6
7 int main(int argc,char **argv) {
8         printf("%f\n",180.0/M_PI*acos(atof(argv[1])));
9         return 0;
10 }
11