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.

457 lines
7.1 KiB

25 years ago
  1. #include "exam.h"
  2. #include <cl_sfloat.h>
  3. #include <cl_sfloat_io.h>
  4. static plus_test sfloat_plus_tests[] = {
  5. { "0.52019s0", "0.98203s0",
  6. "1.50223s0" },
  7. { "0.026268s0", "0.6137s0",
  8. "0.63997s0" },
  9. { "-0.338943s0", "0.450523s0",
  10. "0.11158s0" },
  11. { "-0.032799s0", "0.995186s0",
  12. "0.96239s0" },
  13. { "0.249222s0", "0.96463s0",
  14. "1.21385s0" },
  15. { "-0.46177s0", "-0.80114s0",
  16. "-1.26291s0" },
  17. { "-0.127754s0", "-1.88775s9",
  18. "-1.88775s9" },
  19. { "-0.65572s0", "-9.1112s9",
  20. "-9.1112s9" },
  21. { "-0.99359s0", "-7.6134s9",
  22. "-7.6134s9" },
  23. { "0.0169907s0", "-5.9027s9",
  24. "-5.9027s9" },
  25. { "0.77272s0", "-9.5384s9",
  26. "-9.5384s9" },
  27. { "-0.50671s0", "1.95366s9",
  28. "1.95366s9" },
  29. { "-0.281487s0", "-1.4109s-13",
  30. "-0.281487s0" },
  31. { "0.86259s0", "-1.8225s-13",
  32. "0.86259s0" },
  33. { "0.42874s0", "6.326s-14",
  34. "0.42874s0" },
  35. { "-0.53545s0", "3.607s-14",
  36. "-0.53545s0" },
  37. { "0.63671s0", "-4.723s-14",
  38. "0.63671s0" },
  39. { "0.34449s0", "-4.873s-14",
  40. "0.34449s0" },
  41. { "-0.480698s0", "3.03292s19",
  42. "3.03292s19" },
  43. { "0.85132s0", "-6.325s19",
  44. "-6.325s19" },
  45. { "-0.54742s0", "-2.83806s19",
  46. "-2.83806s19" },
  47. { "0.45269s0", "1.62964s19",
  48. "1.62964s19" },
  49. { "-0.5122s0", "-3.6148s18",
  50. "-3.6148s18" },
  51. { "0.192093s0", "5.3618s19",
  52. "5.3618s19" },
  53. { "-0.43486s0", "-8.918s-24",
  54. "-0.43486s0" },
  55. { "0.289955s0", "-5.911s-24",
  56. "0.289955s0" },
  57. { "0.274345s0", "-1.6779s-23",
  58. "0.274345s0" },
  59. { "0.392723s0", "-7.441s-24",
  60. "0.392723s0" },
  61. { "-0.62215s0", "3.521s-24",
  62. "-0.62215s0" },
  63. { "-0.5406s0", "-7.718s-24",
  64. "-0.5406s0" },
  65. { "6.5444s9", "-0.060898s0",
  66. "6.5444s9" },
  67. { "-8.541s9", "-0.181755s0",
  68. "-8.541s9" },
  69. { "3.02993s9", "0.694534s0",
  70. "3.02993s9" },
  71. { "9.3926s9", "-0.77226s0",
  72. "9.3926s9" },
  73. { "-6.4481s9", "0.252235s0",
  74. "-6.4481s9" },
  75. { "-1.1734s8", "0.94104s0",
  76. "-1.1734s8" },
  77. { "-5.1049s9", "1.28059s9",
  78. "-3.82435s9" },
  79. { "-7.39554s9", "8.9347s9",
  80. "1.53911s9" },
  81. { "3.11457s9", "1.71478s9",
  82. "4.82935s9" },
  83. { "-8.0461s9", "9.0508s9",
  84. "1.00467s9" },
  85. { "-8.58006s8", "-2.82289s7",
  86. "-8.86235s8" },
  87. { "1.82954s9", "-1.83914s9",
  88. "-9601000.0s0" },
  89. { "7.6292s9", "1.3988s-13",
  90. "7.6292s9" },
  91. { "-1.43837s9", "-2.482s-15",
  92. "-1.43837s9" },
  93. { "-6.4696s9", "-1.3269s-13",
  94. "-6.4696s9" },
  95. { "9.6744s9", "-3.132s-14",
  96. "9.6744s9" },
  97. { "-1.18927s9", "-1.9405s-13",
  98. "-1.18927s9" },
  99. { "-3.81462s9", "-8.602s-14",
  100. "-3.81462s9" },
  101. { "5.5761s9", "1.32286s19",
  102. "1.32286s19" },
  103. { "7.1631s9", "-9.3184s19",
  104. "-9.3184s19" },
  105. { "4.7921s9", "-5.8008s19",
  106. "-5.8008s19" },
  107. { "7.792s9", "9.7695s19",
  108. "9.7695s19" },
  109. { "8.9575s9", "7.0198s19",
  110. "7.0198s19" },
  111. { "4.4688s9", "7.2066s19",
  112. "7.2066s19" },
  113. { "8.9222s9", "-1.3243s-23",
  114. "8.9222s9" },
  115. { "-9.7717s9", "3.434s-24",
  116. "-9.7717s9" },
  117. { "-4.22478s9", "-7.938s-24",
  118. "-4.22478s9" },
  119. { "3.9261s8", "7.916s-24",
  120. "3.9261s8" },
  121. { "-3.239s9", "-8.986s-24",
  122. "-3.239s9" },
  123. { "-4.6268s9", "-1.0129s-23",
  124. "-4.6268s9" },
  125. { "1.1171s-13", "0.73372s0",
  126. "0.73372s0" },
  127. { "-3.575s-14", "0.94588s0",
  128. "0.94588s0" },
  129. { "3.176s-14", "-0.160759s0",
  130. "-0.160759s0" },
  131. { "5.055s-15", "-0.0258102s0",
  132. "-0.0258102s0" },
  133. { "6.371s-14", "0.480484s0",
  134. "0.480484s0" },
  135. { "-9.257s-14", "0.698975s0",
  136. "0.698975s0" },
  137. { "-1.0281s-13", "-9.4453s9",
  138. "-9.4453s9" },
  139. { "5.960s-14", "-1.71395s9",
  140. "-1.71395s9" },
  141. { "6.805s-14", "-5.8515s9",
  142. "-5.8515s9" },
  143. { "1.1645s-13", "7.4758s9",
  144. "7.4758s9" },
  145. { "-1.0064s-13", "-1.86868s9",
  146. "-1.86868s9" },
  147. { "8.912s-15", "-8.4908s9",
  148. "-8.4908s9" },
  149. { "4.036s-14", "3.308s-15",
  150. "4.3668s-14" },
  151. { "-2.503s-15", "-7.642s-14",
  152. "-7.8923s-14" },
  153. { "4.653s-14", "-4.612s-14",
  154. "4.10262s-16" },
  155. { "4.700s-14", "-8.456s-14",
  156. "-3.756s-14" },
  157. { "8.181s-14", "-4.658s-14",
  158. "3.52305s-14" },
  159. { "-1.5467s-13", "2.3608s-13",
  160. "8.1409s-14" },
  161. { "-4.341s-14", "-5.14576s19",
  162. "-5.14576s19" },
  163. { "-3.159s-14", "-9.4925s19",
  164. "-9.4925s19" },
  165. { "-7.325s-14", "3.49983s19",
  166. "3.49983s19" },
  167. { "4.134s-14", "7.07955s19",
  168. "7.07955s19" },
  169. { "4.080s-15", "-3.7832s19",
  170. "-3.7832s19" },
  171. { "1.1577s-13", "3.30522s19",
  172. "3.30522s19" },
  173. { "-6.838s-14", "2.739s-24",
  174. "-6.838s-14" },
  175. { "5.050s-14", "6.768s-24",
  176. "5.05s-14" },
  177. { "-1.9477s-13", "-6.657s-24",
  178. "-1.9477s-13" },
  179. { "-6.348s-14", "-5.222s-24",
  180. "-6.348s-14" },
  181. { "-8.770s-14", "-1.58234s-22",
  182. "-8.77s-14" },
  183. { "7.906s-14", "4.9202s-22",
  184. "7.906s-14" },
  185. { "3.7985s19", "0.8199s0",
  186. "3.7985s19" },
  187. { "9.891s19", "0.79037s0",
  188. "9.891s19" },
  189. { "-1.49583s19", "-0.360153s0",
  190. "-1.49583s19" },
  191. { "-7.36023s19", "0.8185s0",
  192. "-7.36023s19" },
  193. { "3.62075s19", "-0.364594s0",
  194. "3.62075s19" },
  195. { "8.0477s19", "-0.531815s0",
  196. "8.0477s19" },
  197. { "3.62182s19", "-7.2661s9",
  198. "3.62182s19" },
  199. { "-3.23868s19", "-9.6806s9",
  200. "-3.23868s19" },
  201. { "-6.08735s19", "2.89138s9",
  202. "-6.08735s19" },
  203. { "5.00175s19", "-6.3548s9",
  204. "5.00175s19" },
  205. { "2.82944s19", "4.7262s9",
  206. "2.82944s19" },
  207. { "4.6168s19", "-6.8772s9",
  208. "4.6168s19" },
  209. { "1.15555s19", "-3.786s-14",
  210. "1.15555s19" },
  211. { "8.1897s19", "-8.971s-14",
  212. "8.1897s19" },
  213. { "4.32734s19", "-4.794s-14",
  214. "4.32734s19" },
  215. { "-9.4559s19", "-1.9717s-13",
  216. "-9.4559s19" },
  217. { "-4.20726s19", "-8.657s-14",
  218. "-4.20726s19" },
  219. { "9.7697s19", "-3.376s-14",
  220. "9.7697s19" },
  221. { "6.09264s19", "-7.5608s18",
  222. "5.33654s19" },
  223. { "-5.2828s19", "6.8924s18",
  224. "-4.59356s19" },
  225. { "5.73685s19", "-1.4978s19",
  226. "4.23907s19" },
  227. { "-1.30897s19", "4.8593s19",
  228. "3.55036s19" },
  229. { "-8.5586s19", "-9.712s19",
  230. "-1.82707s20" },
  231. { "3.8772s19", "-8.6355s19",
  232. "-4.75833s19" },
  233. { "-1.03845s19", "6.88s-24",
  234. "-1.03845s19" },
  235. { "8.4716s19", "9.614s-24",
  236. "8.4716s19" },
  237. { "-4.3023s19", "-7.649s-24",
  238. "-4.3023s19" },
  239. { "5.9593s19", "-2.552s-24",
  240. "5.9593s19" },
  241. { "9.8934s19", "1.3093s-23",
  242. "9.8934s19" },
  243. { "-5.70567s19", "7.918s-24",
  244. "-5.70567s19" },
  245. { "-2.893s-24", "-0.93898s0",
  246. "-0.93898s0" },
  247. { "8.795s-24", "-0.030014s0",
  248. "-0.030014s0" },
  249. { "-9.366s-24", "0.200493s0",
  250. "0.200493s0" },
  251. { "-9.3102s-22", "-0.28704s0",
  252. "-0.28704s0" },
  253. { "7.142s-24", "-0.45701s0",
  254. "-0.45701s0" },
  255. { "9.420s-24", "0.957794s0",
  256. "0.957794s0" },
  257. { "2.975s-24", "-6.84104s9",
  258. "-6.84104s9" },
  259. { "2.26822s-22", "-8.9898s9",
  260. "-8.9898s9" },
  261. { "-1.531s-23", "8.1961s9",
  262. "8.1961s9" },
  263. { "1.7221s-23", "-1.53725s9",
  264. "-1.53725s9" },
  265. { "-9.488s-24", "-4.77676s8",
  266. "-4.77676s8" },
  267. { "-1.5077s-23", "2.8251s9",
  268. "2.8251s9" },
  269. { "3.410s-24", "-4.701s-14",
  270. "-4.701s-14" },
  271. { "-3.361s-24", "-4.947s-15",
  272. "-4.947s-15" },
  273. { "9.026s-24", "7.353s-14",
  274. "7.353s-14" },
  275. { "-6.385s-24", "7.789s-14",
  276. "7.789s-14" },
  277. { "1.8237s-23", "8.517s-14",
  278. "8.517s-14" },
  279. { "3.4439s-22", "-4.345s-14",
  280. "-4.345s-14" },
  281. { "-6.817s-24", "-9.8611s19",
  282. "-9.8611s19" },
  283. { "6.213s-24", "-2.7257s19",
  284. "-2.7257s19" },
  285. { "-1.9353s-23", "-2.71446s19",
  286. "-2.71446s19" },
  287. { "-3.653s-24", "-7.7565s19",
  288. "-7.7565s19" },
  289. { "1.2298s-23", "-1.56532s19",
  290. "-1.56532s19" },
  291. { "2.905s-24", "2.334s19",
  292. "2.334s19" },
  293. { "3.182s-24", "-5.727s-24",
  294. "-2.545s-24" },
  295. { "-1.0745s-23", "3.640s-24",
  296. "-7.1049s-24" },
  297. { "-9.7145s-22", "8.77s-24",
  298. "-9.6267s-22" },
  299. { "1.3734s-23", "3.225s-24",
  300. "1.69588s-23" },
  301. { "2.745s-24", "1.0505s-23",
  302. "1.325s-23" },
  303. { "2.780s-24", "2.747s-24",
  304. "5.527s-24" },
  305. };