Analisa Kinerja Sistem - Blog Sivitas STIKOM Surabaya
Analisa Kinerja Sistem - Blog Sivitas STIKOM Surabaya
Analisa Kinerja Sistem - Blog Sivitas STIKOM Surabaya
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Chapter 3.Workloadstatic float exp (float x) {const float c1 = 9.99999900943303e-01;const float c2 = 5.00006347344554e-01;const float c3 = 1.66667985598315e-01;const float c4 = 4.16350120350139e-02;const float c5 = 8.32859610677671e-03;const float c6 = 1.43927433449119e-03;const float c7 = 2.04699933614437e-04;float x1;float y;float e_pwr = 1.0;float e = 2.71828182845905;x1 = fabs (x);if (x1 > 88.0)return 0.0;while (x1 >= 1.0){e_pwr = e_pwr * e * e;x1 = x1 - 2.0;}y =1.0 + (c1 +(c2 +(c3 +(c4 + (c5 + (c6 + c7 * x1) * x1) * x1) * x1) * x1) * x1) * x1;y = y * e_pwr;41