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 minus_test sfloat_minus_tests[] = {
  5. { "0.57362s0", "-0.0545654s0",
  6. "0.62819s0" },
  7. { "-0.121063s0", "-0.157204s0",
  8. "0.0361404s0" },
  9. { "0.75334s0", "-0.186554s0",
  10. "0.939896s0" },
  11. { "0.879036s0", "-0.54558s0",
  12. "1.42462s0" },
  13. { "-0.245338s0", "-0.003891s0",
  14. "-0.241447s0" },
  15. { "-0.89576s0", "0.61608s0",
  16. "-1.51184s0" },
  17. { "-0.59227s0", "6.61s9",
  18. "-6.61s9" },
  19. { "0.381363s0", "1.88003s9",
  20. "-1.88003s9" },
  21. { "0.858986s0", "1.31028s9",
  22. "-1.31028s9" },
  23. { "0.56377s0", "-3.26553s9",
  24. "3.26553s9" },
  25. { "0.80342s0", "-1.46217s9",
  26. "1.46217s9" },
  27. { "0.093941s0", "8.30203s9",
  28. "-8.30203s9" },
  29. { "0.266243s0", "4.980s-14",
  30. "0.266243s0" },
  31. { "-0.169983s0", "8.01s-15",
  32. "-0.169983s0" },
  33. { "0.77925s0", "-2.777s-15",
  34. "0.77925s0" },
  35. { "-0.379807s0", "3.990s-15",
  36. "-0.379807s0" },
  37. { "-0.392517s0", "1.1080s-13",
  38. "-0.392517s0" },
  39. { "-0.26274s0", "-7.575s-14",
  40. "-0.26274s0" },
  41. { "0.72031s0", "4.1223s19",
  42. "-4.1223s19" },
  43. { "0.589775s0", "-2.9271s19",
  44. "2.9271s19" },
  45. { "0.205704s0", "-8.4906s19",
  46. "8.4906s19" },
  47. { "0.362556s0", "6.8624s19",
  48. "-6.8624s19" },
  49. { "-0.604004s0", "-1.42777s19",
  50. "1.42777s19" },
  51. { "-0.53121s0", "2.3539s19",
  52. "-2.3539s19" },
  53. { "-0.684906s0", "8.179s-24",
  54. "-0.684906s0" },
  55. { "0.43084s0", "-5.849s-24",
  56. "0.43084s0" },
  57. { "0.153358s0", "3.633s-24",
  58. "0.153358s0" },
  59. { "0.93678s0", "9.13s-24",
  60. "0.93678s0" },
  61. { "0.78924s0", "-7.766s-24",
  62. "0.78924s0" },
  63. { "0.33867s0", "3.510s-24",
  64. "0.33867s0" },
  65. { "8.0573s9", "-0.86206s0",
  66. "8.0573s9" },
  67. { "9.3318s9", "-0.93273s0",
  68. "9.3318s9" },
  69. { "-4.26515s9", "0.464104s0",
  70. "-4.26515s9" },
  71. { "-3.35557s9", "-0.93267s0",
  72. "-3.35557s9" },
  73. { "-6.81614s9", "-0.64528s0",
  74. "-6.81614s9" },
  75. { "-5.099s9", "0.67011s0",
  76. "-5.099s9" },
  77. { "-4.2206s9", "4.9182s9",
  78. "-9.1389s9" },
  79. { "-5.18173s9", "2.267s9",
  80. "-7.4487s9" },
  81. { "5.53314s9", "6.08856s9",
  82. "-5.5542s8" },
  83. { "9.88s9", "-3.3333s9",
  84. "1.32132s10" },
  85. { "4.87404s9", "7.17075s9",
  86. "-2.2967s9" },
  87. { "-2.9911s9", "-1.37177s8",
  88. "-2.85393s9" },
  89. { "-8.1379s9", "3.023s-15",
  90. "-8.1379s9" },
  91. { "4.8877s9", "-1.1596s-13",
  92. "4.8877s9" },
  93. { "-1.89071s9", "-4.330s-14",
  94. "-1.89071s9" },
  95. { "8.7563s9", "-4.676s-14",
  96. "8.7563s9" },
  97. { "-4.4533s9", "2.743s-15",
  98. "-4.4533s9" },
  99. { "4.0261s9", "2.1618s-13",
  100. "4.0261s9" },
  101. { "9.1731s9", "-8.0954s19",
  102. "8.0954s19" },
  103. { "6.984s9", "1.09772s19",
  104. "-1.09772s19" },
  105. { "-9.8832s9", "-8.0905s19",
  106. "8.0905s19" },
  107. { "-8.5769s9", "-6.24565s19",
  108. "6.24565s19" },
  109. { "8.5486s9", "2.77396s19",
  110. "-2.77396s19" },
  111. { "-9.4026s9", "-3.5611s19",
  112. "3.5611s19" },
  113. { "5.1003s9", "-1.9535s-23",
  114. "5.1003s9" },
  115. { "1.88706s9", "-1.6304s-23",
  116. "1.88706s9" },
  117. { "-9.4567s9", "-1.9848s-23",
  118. "-9.4567s9" },
  119. { "9.6498s9", "-1.57531s-21",
  120. "9.6498s9" },
  121. { "-5.733s9", "1.23215s-21",
  122. "-5.733s9" },
  123. { "-4.0567s9", "-5.229s-24",
  124. "-4.0567s9" },
  125. { "-4.379s-14", "-0.0201035s0",
  126. "0.0201035s0" },
  127. { "-4.036s-14", "0.82034s0",
  128. "-0.82034s0" },
  129. { "1.6661s-13", "-0.70753s0",
  130. "0.70753s0" },
  131. { "3.360s-14", "0.60217s0",
  132. "-0.60217s0" },
  133. { "4.977s-14", "-0.95905s0",
  134. "0.95905s0" },
  135. { "-2.967s-14", "0.55465s0",
  136. "-0.55465s0" },
  137. { "4.394s-14", "2.01859s9",
  138. "-2.01859s9" },
  139. { "3.683s-14", "4.77836s9",
  140. "-4.77836s9" },
  141. { "-6.887s-14", "-9.26s9",
  142. "9.26s9" },
  143. { "-2.643s-15", "-5.6812s9",
  144. "5.6812s9" },
  145. { "-8.498s-14", "-9.3728s9",
  146. "9.3728s9" },
  147. { "9.033s-14", "2.18002s9",
  148. "-2.18002s9" },
  149. { "3.113s-14", "-9.207s-14",
  150. "1.232s-13" },
  151. { "-3.239s-15", "-1.2957s-13",
  152. "1.26331s-13" },
  153. { "3.098s-15", "-6.117s-15",
  154. "9.2151s-15" },
  155. { "1.7706s-13", "4.829s-14",
  156. "1.2877s-13" },
  157. { "2.793s-15", "8.620s-14",
  158. "-8.3407s-14" },
  159. { "-5.019s-14", "4.125s-14",
  160. "-9.144s-14" },
  161. { "-9.495s-14", "-6.06994s18",
  162. "6.06994s18" },
  163. { "9.385s-14", "-7.9288s19",
  164. "7.9288s19" },
  165. { "-3.099s-14", "-6.64095s19",
  166. "6.64095s19" },
  167. { "3.397s-15", "2.92222s19",
  168. "-2.92222s19" },
  169. { "-8.463s-14", "-4.9708s19",
  170. "4.9708s19" },
  171. { "-2.735s-15", "-9.2672s19",
  172. "9.2672s19" },
  173. { "-2.974s-14", "-7.975s-24",
  174. "-2.974s-14" },
  175. { "-2.1853s-13", "2.736s-24",
  176. "-2.1853s-13" },
  177. { "3.243s-15", "-6.867s-24",
  178. "3.243s-15" },
  179. { "4.792s-14", "-2.659s-24",
  180. "4.792s-14" },
  181. { "4.672s-14", "7.831s-24",
  182. "4.672s-14" },
  183. { "2.0285s-13", "2.741s-24",
  184. "2.0285s-13" },
  185. { "-9.1884s19", "-0.22573s0",
  186. "-9.1884s19" },
  187. { "3.32245s19", "0.7651s0",
  188. "3.32245s19" },
  189. { "4.13513s17", "0.85135s0",
  190. "4.13513s17" },
  191. { "2.2249s19", "0.45778s0",
  192. "2.2249s19" },
  193. { "4.9103s19", "0.84862s0",
  194. "4.9103s19" },
  195. { "4.27386s19", "-0.06662s0",
  196. "4.27386s19" },
  197. { "-6.725s19", "5.11246s8",
  198. "-6.725s19" },
  199. { "-2.40906s19", "7.2238s9",
  200. "-2.40906s19" },
  201. { "6.1667s19", "-7.4303s9",
  202. "6.1667s19" },
  203. { "-7.746s19", "-4.29687s8",
  204. "-7.746s19" },
  205. { "-1.81419s19", "-5.68164s9",
  206. "-1.81419s19" },
  207. { "7.0665s19", "-8.9546s8",
  208. "7.0665s19" },
  209. { "2.47788s19", "-2.2961s-13",
  210. "2.47788s19" },
  211. { "-7.4962s19", "-3.378s-14",
  212. "-7.4962s19" },
  213. { "1.72135s19", "7.168s-14",
  214. "1.72135s19" },
  215. { "8.3699s19", "4.887s-14",
  216. "8.3699s19" },
  217. { "-4.5701s19", "-8.009s-14",
  218. "-4.5701s19" },
  219. { "-2.845s18", "1.1087s-13",
  220. "-2.845s18" },
  221. { "6.4084s19", "-4.569s19",
  222. "1.09774s20" },
  223. { "1.33888s19", "-6.8446s19",
  224. "8.1835s19" },
  225. { "-4.0631s19", "1.50864s19",
  226. "-5.57174s19" },
  227. { "-5.61754s18", "2.6413s18",
  228. "-8.2588s18" },
  229. { "-9.0749s19", "6.21626s19",
  230. "-1.5291s20" },
  231. { "-8.5269s19", "6.2002s19",
  232. "-1.47271s20" },
  233. { "3.15773s19", "5.433s-24",
  234. "3.15773s19" },
  235. { "5.1563s19", "-1.6366s-23",
  236. "5.1563s19" },
  237. { "-5.8449s19", "3.282s-24",
  238. "-5.8449s19" },
  239. { "4.70947s19", "1.5640s-23",
  240. "4.70947s19" },
  241. { "-4.32334s19", "-1.0593s-23",
  242. "-4.32334s19" },
  243. { "7.9621s19", "5.610s-24",
  244. "7.9621s19" },
  245. { "8.164s-24", "0.133362s0",
  246. "-0.133362s0" },
  247. { "-1.57089s-21", "0.3154s0",
  248. "-0.3154s0" },
  249. { "-3.736s-24", "-0.66536s0",
  250. "0.66536s0" },
  251. { "-6.923s-24", "-0.431366s0",
  252. "0.431366s0" },
  253. { "3.345s-24", "0.77436s0",
  254. "-0.77436s0" },
  255. { "-1.4322s-23", "0.799644s0",
  256. "-0.799644s0" },
  257. { "-1.3249s-23", "-4.22035s9",
  258. "4.22035s9" },
  259. { "2.707s-24", "-6.5029s9",
  260. "6.5029s9" },
  261. { "-3.490s-24", "-2.5205s9",
  262. "2.5205s9" },
  263. { "-1.0086s-23", "1.35048s9",
  264. "-1.35048s9" },
  265. { "1.4406s-23", "1.55487s9",
  266. "-1.55487s9" },
  267. { "3.370s-24", "-4.3973s9",
  268. "4.3973s9" },
  269. { "-1.31249s-21", "3.448s-14",
  270. "-3.448s-14" },
  271. { "-7.706s-24", "-1.9488s-13",
  272. "1.9488s-13" },
  273. { "-9.8403s-22", "2.2940s-13",
  274. "-2.294s-13" },
  275. { "-3.355s-24", "1.0187s-13",
  276. "-1.0187s-13" },
  277. { "9.5635s-22", "-8.663s-14",
  278. "8.663s-14" },
  279. { "-5.713s-24", "-3.169s-14",
  280. "3.169s-14" },
  281. { "2.645s-24", "-5.2307s19",
  282. "5.2307s19" },
  283. { "-9.960s-24", "-9.2854s19",
  284. "9.2854s19" },
  285. { "8.036s-24", "-7.11434s19",
  286. "7.11434s19" },
  287. { "3.475s-24", "-4.845s19",
  288. "4.845s19" },
  289. { "-3.062s-24", "4.91714s19",
  290. "-4.91714s19" },
  291. { "-2.541s-24", "-2.91276s19",
  292. "2.91276s19" },
  293. { "1.4371s-23", "1.1606s-23",
  294. "2.76508s-24" },
  295. { "-1.8769s-23", "2.965s-24",
  296. "-2.1734s-23" },
  297. { "3.713s-24", "-1.7581s-23",
  298. "2.1294s-23" },
  299. { "-5.954s-24", "-2.764s-24",
  300. "-3.19s-24" },
  301. { "3.21502s-22", "8.56s-24",
  302. "3.12942s-22" },
  303. { "9.969s-24", "5.912s-24",
  304. "4.057s-24" },
  305. };