libm-test-ulps-kvx 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. # Begin of automatic generation
  2. # cos
  3. Test "cos (M_PI_6l * 2.0) == 0.5":
  4. double: 1
  5. idouble: 1
  6. Test "cos (M_PI_6l * 4.0) == -0.5":
  7. double: 2
  8. float: 1
  9. idouble: 2
  10. ifloat: 1
  11. # erf
  12. Test "erf (1.25) == 0.922900128256458230136523481197281140":
  13. double: 1
  14. idouble: 1
  15. # erfc
  16. Test "erfc (4.125) == 0.542340079956506600531223408575531062e-8":
  17. double: 1
  18. idouble: 1
  19. # exp
  20. Test "exp (1) == e":
  21. double: 1
  22. idouble: 1
  23. # expm1
  24. Test "expm1 (0.75) == 1.11700001661267466854536981983709561":
  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.7) == 0.260867246531666514385732417016759578":
  54. double: 1
  55. float: 1
  56. idouble: 1
  57. ifloat: 1
  58. Test "lgamma (1.2) == -0.853740900033158497197028392998854470e-1":
  59. double: 1
  60. float: 2
  61. idouble: 1
  62. ifloat: 2
  63. # log10
  64. Test "log10 (0.75) == -0.124938736608299953132449886193870744":
  65. double: 1
  66. idouble: 1
  67. Test "log10 (e) == log10(e)":
  68. float: 1
  69. ifloat: 1
  70. # tgamma
  71. Test "tgamma (-0.5) == -2 sqrt (pi)":
  72. double: 1
  73. idouble: 1
  74. Test "tgamma (0.7) == 1.29805533264755778568117117915281162":
  75. double: 1
  76. float: 1
  77. idouble: 1
  78. ifloat: 1
  79. # Maximal error of functions:
  80. Function: "cos":
  81. double: 2
  82. float: 1
  83. idouble: 2
  84. ifloat: 1
  85. Function: "erf":
  86. double: 1
  87. idouble: 1
  88. Function: "erfc":
  89. double: 1
  90. idouble: 1
  91. Function: "exp":
  92. double: 1
  93. idouble: 1
  94. Function: "expm1":
  95. double: 1
  96. idouble: 1
  97. Function: "hypot":
  98. float: 1
  99. ifloat: 1
  100. Function: "lgamma":
  101. double: 1
  102. float: 2
  103. idouble: 1
  104. ifloat: 2
  105. Function: "log":
  106. float: 1
  107. ifloat: 1
  108. Function: "log10":
  109. double: 1
  110. float: 1
  111. idouble: 1
  112. ifloat: 1
  113. Function: "tan":
  114. double: 1
  115. ido
  116. Function: "tgamma":
  117. double: 1
  118. float: 1
  119. idouble: 1
  120. ifloat: 1
  121. # end of automatic generation