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
8.0 KiB

25 years ago
25 years ago
  1. #include "exam.h"
  2. #include <cln/ffloat.h>
  3. #include <cln/ffloat_io.h>
  4. static minus_test ffloat_minus_tests[] = {
  5. { "-0.41894162", "0.23777992",
  6. "-0.65672153" },
  7. { "0.74937063", "0.4803756",
  8. "0.26899505" },
  9. { "0.46964037", "-0.94880456",
  10. "1.4184449" },
  11. { "0.16453332", "0.035123527",
  12. "0.12940979" },
  13. { "0.7353321", "-0.3952883",
  14. "1.1306204" },
  15. { "-0.33693552", "-0.6941588",
  16. "0.35722327" },
  17. { "-0.61853", "-9.25498E9",
  18. "9.25498E9" },
  19. { "0.5172653", "-6.728693E9",
  20. "6.728693E9" },
  21. { "0.1268478", "-1.8808037E9",
  22. "1.8808037E9" },
  23. { "0.29479754", "-3.4643973E9",
  24. "3.4643973E9" },
  25. { "0.34332883", "1.4258218E9",
  26. "-1.4258218E9" },
  27. { "-0.4093976", "-1.6698813E9",
  28. "1.6698813E9" },
  29. { "0.10942185", "-2.015636E-11",
  30. "0.10942185" },
  31. { "0.30351585", "4.4276416E-11",
  32. "0.30351585" },
  33. { "-0.41279083", "6.5274E-11",
  34. "-0.41279083" },
  35. { "0.7813598", "-5.028443E-11",
  36. "0.7813598" },
  37. { "-0.72214615", "2.5959075E-11",
  38. "-0.72214615" },
  39. { "-0.8924311", "-5.2076333E-11",
  40. "-0.8924311" },
  41. { "-0.26128495", "6.8887236E19",
  42. "-6.8887236E19" },
  43. { "0.906616", "-2.0519019E18",
  44. "2.0519019E18" },
  45. { "0.96452767", "-1.6347343E19",
  46. "1.6347343E19" },
  47. { "-0.99801517", "8.383864E19",
  48. "-8.383864E19" },
  49. { "-0.60573876", "-4.890489E19",
  50. "4.890489E19" },
  51. { "-0.004701972", "6.3981E18",
  52. "-6.3981E18" },
  53. { "0.34311903", "3.52871E-21",
  54. "0.34311903" },
  55. { "-0.38159567", "-2.3400748E-21",
  56. "-0.38159567" },
  57. { "-0.6719565", "-5.4333447E-21",
  58. "-0.6719565" },
  59. { "-0.21363729", "8.021308E-21",
  60. "-0.21363729" },
  61. { "0.5275244", "-4.88554E-21",
  62. "0.5275244" },
  63. { "0.9064559", "-6.5840867E-21",
  64. "0.9064559" },
  65. { "-3.0312538E8", "0.26249015",
  66. "-3.0312538E8" },
  67. { "-9.217122E9", "0.22172129",
  68. "-9.217122E9" },
  69. { "-1.157806E9", "-0.95704305",
  70. "-1.157806E9" },
  71. { "6.743087E9", "-0.37863714",
  72. "6.743087E9" },
  73. { "-4.0819942E8", "-0.068549395",
  74. "-4.0819942E8" },
  75. { "4.586502E9", "0.29215187",
  76. "4.586502E9" },
  77. { "5.091125E9", "-2.971223E9",
  78. "8.0623483E9" },
  79. { "-2.1147072E8", "-8.537374E9",
  80. "8.3259034E9" },
  81. { "-9.075735E9", "-9.072693E9",
  82. "-3041280.0" },
  83. { "1.4614451E9", "3.0213921E9",
  84. "-1.559947E9" },
  85. { "8.960645E9", "5.4822825E9",
  86. "3.4783626E9" },
  87. { "-3.7246787E9", "-2.823592E9",
  88. "-9.010867E8" },
  89. { "-3.4256804E9", "-1.8245674E-11",
  90. "-3.4256804E9" },
  91. { "7.0777057E9", "3.6826153E-11",
  92. "7.0777057E9" },
  93. { "3.4600579E9", "-5.207135E-11",
  94. "3.4600579E9" },
  95. { "9.57872E9", "8.222393E-11",
  96. "9.57872E9" },
  97. { "8.388926E9", "-1.1216945E-11",
  98. "8.388926E9" },
  99. { "3.8273395E8", "1.153788E-11",
  100. "3.8273395E8" },
  101. { "-1.2011469E8", "-9.879852E19",
  102. "9.879852E19" },
  103. { "3.850388E9", "4.8155957E19",
  104. "-4.8155957E19" },
  105. { "5.5329756E9", "-5.067925E19",
  106. "5.067925E19" },
  107. { "3.3222902E9", "5.2892763E19",
  108. "-5.2892763E19" },
  109. { "4.431185E9", "-8.005187E19",
  110. "8.005187E19" },
  111. { "-7.307553E8", "-6.8217897E19",
  112. "6.8217897E19" },
  113. { "7.9813893E9", "9.68989E-21",
  114. "7.9813893E9" },
  115. { "-5.7208223E9", "9.790913E-21",
  116. "-5.7208223E9" },
  117. { "-5.9564112E7", "9.217466E-21",
  118. "-5.9564112E7" },
  119. { "5.4524237E9", "4.947411E-21",
  120. "5.4524237E9" },
  121. { "1.4269632E9", "-5.1552662E-21",
  122. "1.4269632E9" },
  123. { "3.7555832E9", "-4.168443E-21",
  124. "3.7555832E9" },
  125. { "-4.1575327E-11", "-0.38582206",
  126. "0.38582206" },
  127. { "-5.810516E-11", "-0.5456566",
  128. "0.5456566" },
  129. { "-1.2386638E-11", "-0.6209788",
  130. "0.6209788" },
  131. { "2.0245033E-11", "-0.7418727",
  132. "0.7418727" },
  133. { "3.7671637E-11", "0.1772576",
  134. "-0.1772576" },
  135. { "-2.2774244E-11", "-0.5959606",
  136. "0.5959606" },
  137. { "-5.6623112E-11", "6.8330056E9",
  138. "-6.8330056E9" },
  139. { "-9.2078116E-11", "-3.4236897E9",
  140. "3.4236897E9" },
  141. { "-3.317883E-11", "-3.2438755E8",
  142. "3.2438755E8" },
  143. { "6.711307E-11", "-7.9204526E9",
  144. "7.9204526E9" },
  145. { "-5.1150143E-11", "9.1128E9",
  146. "-9.1128E9" },
  147. { "-7.3234044E-11", "-8.067016E9",
  148. "8.067016E9" },
  149. { "-3.217777E-11", "-1.6301262E-11",
  150. "-1.5876508E-11" },
  151. { "9.6583325E-11", "5.882668E-11",
  152. "3.7756645E-11" },
  153. { "-7.573351E-11", "6.3386435E-11",
  154. "-1.3911994E-10" },
  155. { "-4.5759726E-11", "8.069604E-11",
  156. "-1.2645576E-10" },
  157. { "-9.538651E-11", "-9.01152E-11",
  158. "-5.271311E-12" },
  159. { "6.2486766E-11", "-3.414284E-11",
  160. "9.662961E-11" },
  161. { "5.530477E-13", "-3.1361222E18",
  162. "3.1361222E18" },
  163. { "1.7998643E-11", "1.5437615E19",
  164. "-1.5437615E19" },
  165. { "-4.7948378E-11", "2.6669319E19",
  166. "-2.6669319E19" },
  167. { "-6.8626884E-12", "-5.7713735E19",
  168. "5.7713735E19" },
  169. { "6.195949E-11", "2.8851469E19",
  170. "-2.8851469E19" },
  171. { "2.4957127E-11", "-2.661574E18",
  172. "2.661574E18" },
  173. { "9.8157565E-11", "-4.561507E-21",
  174. "9.8157565E-11" },
  175. { "-9.332288E-11", "-9.280375E-21",
  176. "-9.332288E-11" },
  177. { "-9.916877E-11", "-1.6945641E-21",
  178. "-9.916877E-11" },
  179. { "-6.460804E-11", "-3.6695186E-21",
  180. "-6.460804E-11" },
  181. { "6.712223E-11", "-2.5360524E-21",
  182. "6.712223E-11" },
  183. { "2.3824066E-11", "-7.439168E-21",
  184. "2.3824066E-11" },
  185. { "-5.189389E19", "0.01453203",
  186. "-5.189389E19" },
  187. { "7.0132006E19", "0.45530832",
  188. "7.0132006E19" },
  189. { "2.9365046E19", "0.36346745",
  190. "2.9365046E19" },
  191. { "-4.1377934E19", "0.37368965",
  192. "-4.1377934E19" },
  193. { "-1.891423E19", "0.159002",
  194. "-1.891423E19" },
  195. { "1.8096083E19", "-0.6511793",
  196. "1.8096083E19" },
  197. { "6.4361307E19", "6.6511677E9",
  198. "6.4361307E19" },
  199. { "-1.8698508E19", "1.1925399E9",
  200. "-1.8698508E19" },
  201. { "7.75824E19", "7.7361823E9",
  202. "7.75824E19" },
  203. { "-7.2570015E19", "3.0842496E9",
  204. "-7.2570015E19" },
  205. { "-1.9014525E19", "-3.8941514E9",
  206. "-1.9014525E19" },
  207. { "3.2787157E19", "-8.612244E9",
  208. "3.2787157E19" },
  209. { "6.4268583E19", "-1.2707472E-11",
  210. "6.4268583E19" },
  211. { "-6.5179933E19", "8.61941E-11",
  212. "-6.5179933E19" },
  213. { "-8.106952E19", "2.1709537E-11",
  214. "-8.106952E19" },
  215. { "2.5455064E19", "3.5653924E-11",
  216. "2.5455064E19" },
  217. { "1.574235E19", "-2.7033407E-11",
  218. "1.574235E19" },
  219. { "-1.1099541E19", "-8.620364E-12",
  220. "-1.1099541E19" },
  221. { "-6.346294E19", "2.9902512E19",
  222. "-9.336545E19" },
  223. { "4.9783164E19", "-2.079425E19",
  224. "7.0577414E19" },
  225. { "-7.149202E19", "1.4282865E19",
  226. "-8.577488E19" },
  227. { "6.0978866E19", "5.256896E19",
  228. "8.409905E18" },
  229. { "-9.961146E19", "-1.9834548E19",
  230. "-7.977691E19" },
  231. { "2.5196015E18", "5.0534214E19",
  232. "-4.8014613E19" },
  233. { "-3.6981453E19", "-1.005367E-21",
  234. "-3.6981453E19" },
  235. { "8.881044E19", "-9.717088E-22",
  236. "8.881044E19" },
  237. { "4.9637263E19", "-7.544846E-21",
  238. "4.9637263E19" },
  239. { "-4.2414725E19", "1.3904184E-21",
  240. "-4.2414725E19" },
  241. { "7.844454E18", "-8.659333E-21",
  242. "7.844454E18" },
  243. { "1.5733016E19", "8.638849E-21",
  244. "1.5733016E19" },
  245. { "1.7531192E-21", "-0.8690463",
  246. "0.8690463" },
  247. { "9.449351E-21", "0.7848489",
  248. "-0.7848489" },
  249. { "5.5016538E-21", "-0.8998171",
  250. "0.8998171" },
  251. { "-6.977279E-21", "-0.9815793",
  252. "0.9815793" },
  253. { "-7.9253305E-21", "-0.21357381",
  254. "0.21357381" },
  255. { "4.026555E-21", "0.5610563",
  256. "-0.5610563" },
  257. { "-7.080433E-21", "-1.9501078E9",
  258. "1.9501078E9" },
  259. { "-8.152211E-21", "8.164317E9",
  260. "-8.164317E9" },
  261. { "2.177096E-21", "-8.591886E9",
  262. "8.591886E9" },
  263. { "9.387247E-21", "3.5730028E9",
  264. "-3.5730028E9" },
  265. { "-7.589234E-21", "-4.9193774E9",
  266. "4.9193774E9" },
  267. { "1.5755653E-21", "-2.3484498E9",
  268. "2.3484498E9" },
  269. { "9.3034425E-21", "8.28104E-11",
  270. "-8.28104E-11" },
  271. { "-6.417297E-21", "-8.352926E-11",
  272. "8.352926E-11" },
  273. { "8.728735E-21", "9.160732E-11",
  274. "-9.160732E-11" },
  275. { "3.8984202E-21", "6.5116944E-12",
  276. "-6.5116944E-12" },
  277. { "6.288995E-21", "-5.6701328E-11",
  278. "5.6701328E-11" },
  279. { "-2.7652023E-22", "-1.01428276E-11",
  280. "1.01428276E-11" },
  281. { "4.7200214E-21", "-3.726995E18",
  282. "3.726995E18" },
  283. { "-2.2945808E-21", "-7.3098524E19",
  284. "7.3098524E19" },
  285. { "-9.493033E-21", "3.4235436E19",
  286. "-3.4235436E19" },
  287. { "3.7946773E-21", "-5.126768E18",
  288. "5.126768E18" },
  289. { "-1.2865209E-21", "3.5096026E19",
  290. "-3.5096026E19" },
  291. { "-8.403449E-21", "5.704743E18",
  292. "-5.704743E18" },
  293. { "2.928304E-21", "-5.574477E-21",
  294. "8.502781E-21" },
  295. { "-9.46122E-21", "-3.858943E-21",
  296. "-5.602277E-21" },
  297. { "7.296878E-22", "1.8123137E-21",
  298. "-1.0826259E-21" },
  299. { "5.866651E-21", "2.4605584E-21",
  300. "3.4060923E-21" },
  301. { "-7.633577E-21", "9.915102E-21",
  302. "-1.7548679E-20" },
  303. { "-8.7881085E-24", "3.001468E-21",
  304. "-3.0102563E-21" },
  305. };