libm-test-ulps-i386 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. # Begin of automatic generation
  2. # cos
  3. Test "cos (M_PI_6l * 4.0) == -0.5":
  4. double: 1
  5. float: 1
  6. idouble: 1
  7. ifloat: 1
  8. # erf
  9. Test "erf (1.25) == 0.922900128256458230136523481197281140":
  10. double: 1
  11. idouble: 1
  12. # erfc
  13. Test "erfc (2.0) == 0.00467773498104726583793074363274707139":
  14. double: 1
  15. idouble: 1
  16. Test "erfc (4.125) == 0.542340079956506600531223408575531062e-8":
  17. double: 1
  18. idouble: 1
  19. # expm1
  20. Test "expm1 (0.75) == 1.11700001661267466854536981983709561":
  21. double: 1
  22. idouble: 1
  23. # gamma
  24. Test "gamma (-0.5) == log(2*sqrt(pi))":
  25. double: 1
  26. idouble: 1
  27. # hypot
  28. Test "hypot (-0.7, -12.4) == 12.419742348374220601176836866763271":
  29. float: 1
  30. ifloat: 1
  31. Test "hypot (-0.7, 12.4) == 12.419742348374220601176836866763271":
  32. float: 1
  33. ifloat: 1
  34. Test "hypot (-12.4, -0.7) == 12.419742348374220601176836866763271":
  35. float: 1
  36. ifloat: 1
  37. Test "hypot (-12.4, 0.7) == 12.419742348374220601176836866763271":
  38. float: 1
  39. ifloat: 1
  40. Test "hypot (0.7, -12.4) == 12.419742348374220601176836866763271":
  41. float: 1
  42. ifloat: 1
  43. Test "hypot (0.7, 12.4) == 12.419742348374220601176836866763271":
  44. float: 1
  45. ifloat: 1
  46. Test "hypot (12.4, -0.7) == 12.419742348374220601176836866763271":
  47. float: 1
  48. ifloat: 1
  49. Test "hypot (12.4, 0.7) == 12.419742348374220601176836866763271":
  50. float: 1
  51. ifloat: 1
  52. # lgamma
  53. Test "lgamma (-0.5) == log(2*sqrt(pi))":
  54. double: 1
  55. idouble: 1
  56. Test "lgamma (0.7) == 0.260867246531666514385732417016759578":
  57. float: 1
  58. ifloat: 1
  59. Test "lgamma (1.2) == -0.853740900033158497197028392998854470e-1":
  60. double: 1
  61. float: 2
  62. idouble: 1
  63. ifloat: 2
  64. # log10
  65. Test "log10 (e) == log10(e)":
  66. float: 1
  67. ifloat: 1
  68. # sin
  69. Test "sin (0.80190127184058835) == 0.71867942238767868":
  70. double: 1
  71. idouble: 1
  72. # sinh
  73. Test "sinh (0.75) == 0.822316731935829980703661634446913849":
  74. double: 1
  75. idouble: 1
  76. # tanh
  77. Test "tanh (-0.75) == -0.635148952387287319214434357312496495":
  78. double: 1
  79. idouble: 1
  80. Test "tanh (0.75) == 0.635148952387287319214434357312496495":
  81. double: 1
  82. idouble: 1
  83. # tgamma
  84. Test "tgamma (-0.5) == -2 sqrt (pi)":
  85. double: 2
  86. idouble: 2
  87. Test "tgamma (0.7) == 1.29805533264755778568117117915281162":
  88. double: 1
  89. float: 1
  90. idouble: 1
  91. ifloat: 1
  92. # Maximal error of functions:
  93. Function: "cos":
  94. double: 1
  95. float: 1
  96. idouble: 1
  97. ifloat: 1
  98. Function: "erf":
  99. double: 1
  100. idouble: 1
  101. Function: "erfc":
  102. double: 1
  103. idouble: 1
  104. Function: "expm1":
  105. double: 1
  106. idouble: 1
  107. Function: "gamma":
  108. double: 1
  109. idouble: 1
  110. Function: "hypot":
  111. float: 1
  112. ifloat: 1
  113. Function: "lgamma":
  114. double: 1
  115. float: 2
  116. idouble: 1
  117. ifloat: 2
  118. Function: "log":
  119. float: 1
  120. ifloat: 1
  121. Function: "log10":
  122. float: 1
  123. ifloat: 1
  124. Function: "sin":
  125. double: 1
  126. idouble: 1
  127. Function: "sinh":
  128. double: 1
  129. idouble: 1
  130. Function: "tan":
  131. double: 1
  132. idouble: 1
  133. Function: "tanh":
  134. double: 1
  135. idouble: 1
  136. Function: "tgamma":
  137. double: 2
  138. float: 1
  139. idouble: 2
  140. ifloat: 1
  141. # end of automatic generation