You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

424 lines
6.7 KiB

25 years ago
  1. #include "exam.h"
  2. #include <cl_sfloat.h>
  3. #include <cl_sfloat_io.h>
  4. static mul_test sfloat_mul_tests[] = {
  5. { "-0.56581s0", "-0.117477s0",
  6. "0.06647s0" },
  7. { "0.73841s0", "0.08886s0",
  8. "0.065615s0" },
  9. { "-0.75174s0", "-0.173615s0",
  10. "0.130512s0" },
  11. { "0.557236s0", "-0.105034s0",
  12. "-0.0585284s0" },
  13. { "-0.62105s0", "0.828835s0",
  14. "-0.51475s0" },
  15. { "-0.54287s0", "-0.92243s0",
  16. "0.50076s0" },
  17. { "-0.2173s0", "5.5084s9",
  18. "-1.19698s9" },
  19. { "0.467354s0", "-7.9517s9",
  20. "-3.71625s9" },
  21. { "-0.95485s0", "5.6451s9",
  22. "-5.3902s9" },
  23. { "0.0472946s0", "-6.774s9",
  24. "-3.20373s8" },
  25. { "0.196037s0", "7.3548s8",
  26. "1.44181s8" },
  27. { "-0.25535s0", "4.91907s9",
  28. "-1.25608s9" },
  29. { "0.047058s0", "6.612s-14",
  30. "3.11147s-15" },
  31. { "-0.35054s0", "3.764s-14",
  32. "-1.31943s-14" },
  33. { "0.372635s0", "1.0613s-13",
  34. "3.9548s-14" },
  35. { "0.627266s0", "-9.519s-14",
  36. "-5.971s-14" },
  37. { "-0.0293884s0", "1.1626s-13",
  38. "-3.41667s-15" },
  39. { "-0.88304s0", "-1.1160s-13",
  40. "9.8547s-14" },
  41. { "0.318016s0", "-6.86827s19",
  42. "-2.18422s19" },
  43. { "0.605064s0", "3.4281s19",
  44. "2.07422s19" },
  45. { "-0.65415s0", "-8.185s19",
  46. "5.3542s19" },
  47. { "0.87548s0", "6.72325s19",
  48. "5.8861s19" },
  49. { "0.45806s0", "-9.503s19",
  50. "-4.35295s19" },
  51. { "-0.995384s0", "1.62797s19",
  52. "-1.62045s19" },
  53. { "0.26301s0", "-1.3169s-23",
  54. "-3.46357s-24" },
  55. { "0.82762s0", "-3.411s-24",
  56. "-2.82304s-24" },
  57. { "-0.042412s0", "-3.339s-24",
  58. "1.41613s-25" },
  59. { "0.858284s0", "-7.610s-24",
  60. "-6.53157s-24" },
  61. { "0.75574s0", "1.0518s-23",
  62. "7.9488s-24" },
  63. { "0.977s0", "-5.944s-24",
  64. "-5.8073s-24" },
  65. { "1.1316s9", "0.87906s0",
  66. "9.9474s8" },
  67. { "9.7596s9", "0.58181s0",
  68. "5.67824s9" },
  69. { "5.5896s9", "-0.91708s0",
  70. "-5.12616s9" },
  71. { "-7.677s9", "-0.67695s0",
  72. "5.19694s9" },
  73. { "-4.73655s9", "0.65572s0",
  74. "-3.10588s9" },
  75. { "-3.2158s9", "-0.30076s0",
  76. "9.6717s8" },
  77. { "5.94916s9", "-1.02867s9",
  78. "-6.1197s18" },
  79. { "-3.19098s9", "8.125s9",
  80. "-2.59267s19" },
  81. { "-6.57215s9", "9.4253s9",
  82. "-6.1944s19" },
  83. { "-5.2792s9", "3.93547s9",
  84. "-2.0776s19" },
  85. { "2.502s9", "4.1275s9",
  86. "1.0327s19" },
  87. { "-8.9462s9", "-4.72174s9",
  88. "4.22415s19" },
  89. { "-8.9588s9", "-1.4190s-14",
  90. "1.27126s-4" },
  91. { "-3.56218s9", "-9.982s-14",
  92. "3.5558s-4" },
  93. { "-3.4449s9", "4.582s-15",
  94. "-1.57845s-5" },
  95. { "-3.7047s9", "1.2985s-14",
  96. "-4.8105s-5" },
  97. { "-8.9172s8", "-7.294s-14",
  98. "6.5043s-5" },
  99. { "1.64864s9", "1.8344s-13",
  100. "3.02427s-4" },
  101. { "-9.935s8", "-7.9116s19",
  102. "7.8602s28" },
  103. { "-7.0441s9", "-6.3448s19",
  104. "4.4693s29" },
  105. { "7.72866s9", "1.44264s19",
  106. "1.11497s29" },
  107. { "3.7816s9", "-3.16285s19",
  108. "-1.19606s29" },
  109. { "-1.06926s9", "6.67816s19",
  110. "-7.1407s28" },
  111. { "4.04482s9", "-3.52235s19",
  112. "-1.42473s29" },
  113. { "-8.77s8", "-3.499s-24",
  114. "3.06864s-15" },
  115. { "-9.5508s9", "1.0006s-23",
  116. "-9.5566s-14" },
  117. { "-2.98736s9", "-7.070s-24",
  118. "2.11207s-14" },
  119. { "9.9779s9", "1.2683s-23",
  120. "1.26548s-13" },
  121. { "7.4813s9", "-1.3730s-23",
  122. "-1.02719s-13" },
  123. { "8.5804s9", "6.999s-24",
  124. "6.0054s-14" },
  125. { "4.637s-14", "0.895805s0",
  126. "4.15384s-14" },
  127. { "1.0125s-13", "-0.322685s0",
  128. "-3.26718s-14" },
  129. { "2.310s-16", "0.0601425s0",
  130. "1.38928s-17" },
  131. { "1.0579s-13", "-0.27089s0",
  132. "-2.86576s-14" },
  133. { "9.540s-14", "-0.21251s0",
  134. "-2.02735s-14" },
  135. { "-4.463s-14", "-0.96336s0",
  136. "4.2995s-14" },
  137. { "3.270s-14", "-5.9141s9",
  138. "-1.93391s-4" },
  139. { "-6.515s-14", "1.01791s9",
  140. "-6.6318s-5" },
  141. { "3.695s-14", "8.7417s9",
  142. "3.23005s-4" },
  143. { "-1.0900s-13", "-6.75794s9",
  144. "7.3662s-4" },
  145. { "4.551s-14", "-7.1112s9",
  146. "-3.2363s-4" },
  147. { "5.456s-15", "-5.44014s9",
  148. "-2.96813s-5" },
  149. { "-3.377s-14", "3.358s-15",
  150. "-1.13399s-28" },
  151. { "3.862s-14", "7.278s-14",
  152. "2.81079s-27" },
  153. { "9.449s-14", "3.170s-14",
  154. "2.99533s-27" },
  155. { "7.051s-14", "-4.234s-14",
  156. "-2.98537s-27" },
  157. { "-8.955s-14", "9.895s-14",
  158. "-8.861s-27" },
  159. { "-1.6752s-13", "-7.341s-14",
  160. "1.22977s-26" },
  161. { "9.420s-14", "4.50844s19",
  162. "4246900.0s0" },
  163. { "2.0183s-13", "9.598s19",
  164. "1.93715s7" },
  165. { "-7.441s-14", "-5.7324s19",
  166. "4265500.0s0" },
  167. { "7.241s-14", "-5.79135s19",
  168. "-4193500.0s0" },
  169. { "7.987s-14", "8.1113s19",
  170. "6478500.0s0" },
  171. { "-1.1603s-13", "7.4468s19",
  172. "-8640500.0s0" },
  173. { "-4.432s-14", "-6.851s-24",
  174. "3.03637s-37" },
  175. { "-5.064s-14", "-8.119s-24",
  176. "4.1115s-37" },
  177. { "3.553s-15", "-6.404s-24",
  178. "-2.27533s-38" },
  179. { "8.699s-14", "-3.558s-24",
  180. "-3.0951s-37" },
  181. { "9.820s-14", "-5.771s-24",
  182. "-5.6671s-37" },
  183. { "-3.477s-14", "7.723s-24",
  184. "-2.6853s-37" },
  185. { "7.9082s19", "0.71604s0",
  186. "5.6626s19" },
  187. { "-6.83905s19", "-0.36905s0",
  188. "2.52396s19" },
  189. { "-7.7697s19", "-0.34073s0",
  190. "2.64736s19" },
  191. { "-2.10557s19", "-0.58961s0",
  192. "1.24146s19" },
  193. { "9.0963s19", "-0.37693s0",
  194. "-3.42865s19" },
  195. { "-4.24076s19", "0.91147s0",
  196. "-3.8653s19" },
  197. { "-3.5865s19", "-6.4046s9",
  198. "2.297s29" },
  199. { "7.19225s18", "-7.7232s9",
  200. "-5.5547s28" },
  201. { "1.98907s19", "-9.9239s9",
  202. "-1.97393s29" },
  203. { "-4.27195s19", "7.0734s9",
  204. "-3.02173s29" },
  205. { "-8.3115s19", "5.2947s9",
  206. "-4.40073s29" },
  207. { "9.4386s19", "8.6548s8",
  208. "8.169s28" },
  209. { "6.21677s19", "-3.135s-14",
  210. "-1948960.0s0" },
  211. { "-6.30774s19", "1.5884s-13",
  212. "-1.00192s7" },
  213. { "7.6073s19", "3.922s-14",
  214. "2983550.0s0" },
  215. { "-1.44485s19", "-3.355s-14",
  216. "484748.0s0" },
  217. { "3.39653s19", "-7.679s-14",
  218. "-2608200.0s0" },
  219. { "-6.0072s19", "1.7825s-13",
  220. "-1.07078s7" },
  221. { "1.06812s16", "-1.19583s19",
  222. "-1.2773s35" },
  223. { "1.1438s19", "2.616s-24",
  224. "2.99218s-5" },
  225. { "-5.79304s18", "-3.095s-24",
  226. "1.79296s-5" },
  227. { "-7.6387s19", "8.607s-24",
  228. "-6.5746s-4" },
  229. { "4.03933s19", "3.058s-24",
  230. "1.23523s-4" },
  231. { "-2.06994s19", "-1.1381s-23",
  232. "2.3558s-4" },
  233. { "3.7857s18", "-3.590s-24",
  234. "-1.35906s-5" },
  235. { "5.656s-24", "-0.096458s0",
  236. "-5.4557s-25" },
  237. { "-5.799s-24", "-0.148445s0",
  238. "8.6083s-25" },
  239. { "-9.041s-24", "0.86431s0",
  240. "-7.8143s-24" },
  241. { "-2.645s-24", "-0.911865s0",
  242. "2.41187s-24" },
  243. { "-9.758s-24", "-0.397186s0",
  244. "3.87574s-24" },
  245. { "-5.345s-24", "-0.27215s0",
  246. "1.45463s-24" },
  247. { "-3.713s-24", "9.11335s8",
  248. "-3.38382s-15" },
  249. { "-3.010s-24", "-9.5278s9",
  250. "2.86784s-14" },
  251. { "-1.6904s-23", "-8.37655s9",
  252. "1.41599s-13" },
  253. { "-5.074s-24", "-9.2804s9",
  254. "4.7089s-14" },
  255. { "-6.942s-22", "-8.7038s9",
  256. "6.04217s-12" },
  257. { "-7.643s-24", "-3.1665s9",
  258. "2.42018s-14" },
  259. { "-2.659s-24", "-9.238s-14",
  260. "2.4564s-37" },
  261. { "-1.7036s-23", "3.138s-14",
  262. "-5.34586s-37" },
  263. { "7.684s-24", "8.639s-14",
  264. "6.6383s-37" },
  265. { "-3.424s-24", "-6.046s-14",
  266. "2.07014s-37" },
  267. { "9.3102s-22", "-1.1344s-13",
  268. "-1.05614s-34" },
  269. { "8.070s-24", "3.573s-14",
  270. "2.8834s-37" },
  271. { "3.557s-24", "7.9957s19",
  272. "2.84407s-4" },
  273. { "7.281s-24", "-3.45443s19",
  274. "-2.5152s-4" },
  275. { "-1.6093s-23", "3.22463s19",
  276. "-5.1894s-4" },
  277. { "-1.8628s-23", "4.95593s19",
  278. "-9.2319s-4" },
  279. { "3.463s-24", "-4.44685s19",
  280. "-1.53994s-4" },
  281. { "-8.081s-24", "-1.54701s19",
  282. "1.25013s-4" },
  283. };