4 #define PI 3.141592653589793
12 currPi
+=(4/i
- 4/(i
+2));
14 } while(fabs(PI
-currPi
) > 1e-7);
17 printf("Vypocteno Pi = %lf v case: %f ms.\n", currPi
,
18 (float)(end
-begin
)/CLOCKS_PER_SEC
* 1000);
21 //return EXIT_SUCCESS;
This page took 0.358859 seconds and 4 git commands to generate.