j0tst.c 654 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. float z[20] = {
  2. 2.4048254489898681641,
  3. 5.5200781822204589844,
  4. 8.6537275314331054687,
  5. 11.791533470153808594,
  6. 14.930917739868164062,
  7. 18.071063995361328125,
  8. 21.211637496948242188,
  9. 24.352472305297851563,
  10. 27.493478775024414062,
  11. 30.634607315063476562,
  12. 33.775821685791015625,
  13. 36.9170989990234375,
  14. 40.0584259033203125,
  15. 43.19979095458984375,
  16. 46.3411865234375,
  17. 49.482608795166015625,
  18. 52.624050140380859375,
  19. 55.76551055908203125,
  20. 58.906982421875,
  21. 62.04846954345703125,
  22. };
  23. /* #if ANSIC */
  24. #if __STDC__
  25. float j0f(float);
  26. #else
  27. float j0f();
  28. #endif
  29. int main()
  30. {
  31. float y;
  32. int i;
  33. for (i = 0; i< 20; i++)
  34. {
  35. y = j0f(z[i]);
  36. printf("%.9e\n", y);
  37. }
  38. exit(0);
  39. }