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 plus_test ffloat_plus_tests[] = {
  5. { "0.79351956", "0.07393837",
  6. "0.8674579" },
  7. { "-0.52145976", "-0.14409256",
  8. "-0.6655523" },
  9. { "-0.094845235", "-0.091273725",
  10. "-0.18611896" },
  11. { "-0.11106694", "-0.90595967",
  12. "-1.0170267" },
  13. { "0.46902913", "0.6453068",
  14. "1.114336" },
  15. { "-0.30989015", "0.6634996",
  16. "0.35360944" },
  17. { "-0.58887166", "-3.1150198E9",
  18. "-3.1150198E9" },
  19. { "0.08032262", "-8.451643E9",
  20. "-8.451643E9" },
  21. { "-0.734433", "7.601292E9",
  22. "7.601292E9" },
  23. { "0.77958024", "-4.2334996E9",
  24. "-4.2334996E9" },
  25. { "-0.5492505", "4.4427484E9",
  26. "4.4427484E9" },
  27. { "-0.45681345", "4.7386803E9",
  28. "4.7386803E9" },
  29. { "-0.5951412", "7.866326E-11",
  30. "-0.5951412" },
  31. { "0.8511461", "8.396644E-11",
  32. "0.8511461" },
  33. { "-0.94777477", "-7.635105E-11",
  34. "-0.94777477" },
  35. { "-0.20783025", "-1.7222382E-11",
  36. "-0.20783025" },
  37. { "0.82520634", "-5.3449255E-11",
  38. "0.82520634" },
  39. { "0.7797032", "3.7409843E-11",
  40. "0.7797032" },
  41. { "0.9915549", "5.16192E19",
  42. "5.16192E19" },
  43. { "-0.6311349", "2.1599532E19",
  44. "2.1599532E19" },
  45. { "0.42801672", "4.8533796E18",
  46. "4.8533796E18" },
  47. { "-0.11165339", "6.518633E19",
  48. "6.518633E19" },
  49. { "-0.5133993", "-5.5200484E19",
  50. "-5.5200484E19" },
  51. { "0.11643493", "-1.0541451E19",
  52. "-1.0541451E19" },
  53. { "-0.7063649", "8.243067E-21",
  54. "-0.7063649" },
  55. { "8.4728E-4", "-7.5151976E-21",
  56. "8.4728E-4" },
  57. { "-0.47157037", "-8.748518E-21",
  58. "-0.47157037" },
  59. { "0.7662331", "-5.6591384E-21",
  60. "0.7662331" },
  61. { "-0.9418909", "-4.455382E-21",
  62. "-0.9418909" },
  63. { "-0.88412094", "6.6664897E-21",
  64. "-0.88412094" },
  65. { "5.5891533E9", "-0.11624104",
  66. "5.5891533E9" },
  67. { "-8.760519E9", "0.22073412",
  68. "-8.760519E9" },
  69. { "6.8390047E9", "-0.6434584",
  70. "6.8390047E9" },
  71. { "5.1620844E9", "-0.93939686",
  72. "5.1620844E9" },
  73. { "9.21372E9", "-0.93054956",
  74. "9.21372E9" },
  75. { "-2.7403366E9", "-0.9354063",
  76. "-2.7403366E9" },
  77. { "6.4755876E9", "7.780013E9",
  78. "1.4255601E10" },
  79. { "3.6402857E9", "-4.6589404E9",
  80. "-1.0186547E9" },
  81. { "9.858497E9", "-3.1216233E9",
  82. "6.7368735E9" },
  83. { "-5.199144E9", "-8.3410964E9",
  84. "-1.354024E10" },
  85. { "-2.2145843E9", "7.4088115E9",
  86. "5.194227E9" },
  87. { "3.6034734E9", "-4.7355105E9",
  88. "-1.1320371E9" },
  89. { "-3.974853E9", "8.344858E-11",
  90. "-3.974853E9" },
  91. { "9.633741E9", "9.879035E-11",
  92. "9.633741E9" },
  93. { "-5.84563E9", "-2.8054357E-11",
  94. "-5.84563E9" },
  95. { "1.6814709E8", "-6.702281E-11",
  96. "1.6814709E8" },
  97. { "6.627381E8", "8.1083654E-11",
  98. "6.627381E8" },
  99. { "6.617609E9", "-7.74835E-11",
  100. "6.617609E9" },
  101. { "-4.325255E9", "7.48992E19",
  102. "7.48992E19" },
  103. { "8.963769E9", "5.6527995E19",
  104. "5.6527995E19" },
  105. { "3.2307428E9", "-3.772047E19",
  106. "-3.772047E19" },
  107. { "-1.5719092E9", "9.119215E19",
  108. "9.119215E19" },
  109. { "-3.1338138E9", "2.7048826E19",
  110. "2.7048826E19" },
  111. { "-4.4506363E9", "9.624759E19",
  112. "9.624759E19" },
  113. { "1.8499094E9", "4.968932E-21",
  114. "1.8499094E9" },
  115. { "1.1302281E9", "1.590079E-21",
  116. "1.1302281E9" },
  117. { "5.7261727E9", "-3.3212954E-21",
  118. "5.7261727E9" },
  119. { "1.8314988E9", "-6.247946E-21",
  120. "1.8314988E9" },
  121. { "-7.301286E9", "-8.870309E-21",
  122. "-7.301286E9" },
  123. { "8.0970737E9", "-6.944993E-21",
  124. "8.0970737E9" },
  125. { "9.076142E-11", "0.79629874",
  126. "0.79629874" },
  127. { "-2.5569331E-11", "-0.11109424",
  128. "-0.11109424" },
  129. { "5.817238E-11", "0.8669617",
  130. "0.8669617" },
  131. { "5.0001194E-11", "0.1629681",
  132. "0.1629681" },
  133. { "-5.314657E-11", "0.33499128",
  134. "0.33499128" },
  135. { "3.4244614E-11", "0.7846571",
  136. "0.7846571" },
  137. { "5.016508E-11", "1.2850774E9",
  138. "1.2850774E9" },
  139. { "-6.236206E-11", "-3.9463657E9",
  140. "-3.9463657E9" },
  141. { "-9.461717E-11", "-2.86016E9",
  142. "-2.86016E9" },
  143. { "9.271425E-11", "9.936099E9",
  144. "9.936099E9" },
  145. { "-9.330213E-12", "4.2810826E9",
  146. "4.2810826E9" },
  147. { "8.8110796E-11", "-7.967343E9",
  148. "-7.967343E9" },
  149. { "-3.252064E-11", "9.310712E-11",
  150. "6.058648E-11" },
  151. { "9.2616026E-11", "-4.2321837E-11",
  152. "5.029419E-11" },
  153. { "-6.138445E-11", "2.0083374E-11",
  154. "-4.130108E-11" },
  155. { "-1.672895E-11", "-4.1673078E-11",
  156. "-5.8402026E-11" },
  157. { "-5.054619E-11", "-1.9569606E-11",
  158. "-7.0115795E-11" },
  159. { "-6.765585E-11", "6.200571E-11",
  160. "-5.65014E-12" },
  161. { "-8.958499E-11", "9.627367E18",
  162. "9.627367E18" },
  163. { "-3.639458E-11", "-6.774422E19",
  164. "-6.774422E19" },
  165. { "5.885664E-11", "7.710968E19",
  166. "7.710968E19" },
  167. { "-2.8348934E-11", "-6.8805507E19",
  168. "-6.8805507E19" },
  169. { "3.783013E-11", "-4.363011E19",
  170. "-4.363011E19" },
  171. { "9.9192224E-11", "7.840148E19",
  172. "7.840148E19" },
  173. { "1.5157771E-11", "-6.578477E-21",
  174. "1.5157771E-11" },
  175. { "3.269849E-11", "-1.5641468E-21",
  176. "3.269849E-11" },
  177. { "-2.4697334E-11", "-5.9471063E-21",
  178. "-2.4697334E-11" },
  179. { "-7.226034E-11", "-8.027814E-21",
  180. "-7.226034E-11" },
  181. { "6.705153E-12", "1.3146739E-21",
  182. "6.705153E-12" },
  183. { "-9.281199E-11", "1.940757E-22",
  184. "-9.281199E-11" },
  185. { "6.841885E19", "0.29873258",
  186. "6.841885E19" },
  187. { "-7.487633E19", "-0.41199452",
  188. "-7.487633E19" },
  189. { "9.324847E19", "-0.12986994",
  190. "9.324847E19" },
  191. { "1.7454827E19", "-0.9480438",
  192. "1.7454827E19" },
  193. { "-2.2794772E19", "-0.85242146",
  194. "-2.2794772E19" },
  195. { "-1.4789046E18", "-0.3244334",
  196. "-1.4789046E18" },
  197. { "-1.0913384E19", "6.2691034E8",
  198. "-1.0913384E19" },
  199. { "9.054158E19", "6.7361736E9",
  200. "9.054158E19" },
  201. { "-2.404365E19", "2.819194E9",
  202. "-2.404365E19" },
  203. { "3.0628145E19", "3.8188636E9",
  204. "3.0628145E19" },
  205. { "-3.7020847E19", "-4.248917E8",
  206. "-3.7020847E19" },
  207. { "8.556466E19", "-5.431256E9",
  208. "8.556466E19" },
  209. { "4.8590555E19", "-4.0259546E-11",
  210. "4.8590555E19" },
  211. { "-1.990289E19", "-3.2150872E-11",
  212. "-1.990289E19" },
  213. { "-1.5843934E19", "5.37822E-11",
  214. "-1.5843934E19" },
  215. { "1.596058E19", "2.465645E-11",
  216. "1.596058E19" },
  217. { "8.179266E19", "-8.080585E-11",
  218. "8.179266E19" },
  219. { "8.673572E19", "-2.1405459E-11",
  220. "8.673572E19" },
  221. { "-4.5302206E19", "4.4819714E19",
  222. "-4.824921E17" },
  223. { "2.1413618E19", "-7.160984E19",
  224. "-5.0196224E19" },
  225. { "9.760235E19", "-7.810464E19",
  226. "1.949771E19" },
  227. { "-7.518544E19", "-5.7398474E19",
  228. "-1.32583915E20" },
  229. { "-2.459352E19", "6.0089863E19",
  230. "3.5496343E19" },
  231. { "-9.009707E19", "1.9710512E19",
  232. "-7.0386556E19" },
  233. { "4.9167807E19", "-1.261897E-21",
  234. "4.9167807E19" },
  235. { "-8.647001E18", "-1.4144885E-21",
  236. "-8.647001E18" },
  237. { "-6.2763383E19", "6.69688E-21",
  238. "-6.2763383E19" },
  239. { "1.6851938E19", "-4.9109547E-21",
  240. "1.6851938E19" },
  241. { "-7.0371058E19", "-9.246501E-21",
  242. "-7.0371058E19" },
  243. { "-2.8498996E19", "3.3614294E-21",
  244. "-2.8498996E19" },
  245. { "-4.8211753E-21", "0.5153807",
  246. "0.5153807" },
  247. { "-9.730312E-21", "0.3705088",
  248. "0.3705088" },
  249. { "-8.83036E-21", "0.21063423",
  250. "0.21063423" },
  251. { "1.8688595E-21", "-0.38304192",
  252. "-0.38304192" },
  253. { "-7.9137435E-21", "-0.9482965",
  254. "-0.9482965" },
  255. { "-5.7913193E-21", "-0.16538233",
  256. "-0.16538233" },
  257. { "-4.667948E-21", "5.69782E9",
  258. "5.69782E9" },
  259. { "-1.6254025E-21", "1.100067E9",
  260. "1.100067E9" },
  261. { "5.4919865E-21", "9.125866E9",
  262. "9.125866E9" },
  263. { "2.1973532E-21", "-5.218964E9",
  264. "-5.218964E9" },
  265. { "-4.018586E-21", "-6.5943096E9",
  266. "-6.5943096E9" },
  267. { "-7.7845274E-22", "4.172669E9",
  268. "4.172669E9" },
  269. { "-2.843846E-21", "9.243441E-12",
  270. "9.243441E-12" },
  271. { "1.1533075E-21", "3.327943E-11",
  272. "3.327943E-11" },
  273. { "5.977113E-21", "6.507544E-11",
  274. "6.507544E-11" },
  275. { "1.1817801E-21", "-4.1877824E-11",
  276. "-4.1877824E-11" },
  277. { "1.932947E-21", "9.4013144E-11",
  278. "9.4013144E-11" },
  279. { "8.526454E-21", "8.396772E-11",
  280. "8.396772E-11" },
  281. { "-4.8870485E-21", "5.9277504E19",
  282. "5.9277504E19" },
  283. { "-4.7174987E-21", "2.5545484E19",
  284. "2.5545484E19" },
  285. { "-8.818029E-21", "1.2602901E19",
  286. "1.2602901E19" },
  287. { "-1.2268113E-21", "-9.071741E19",
  288. "-9.071741E19" },
  289. { "-7.0568975E-21", "-6.9825405E19",
  290. "-6.9825405E19" },
  291. { "8.723312E-21", "-5.802767E19",
  292. "-5.802767E19" },
  293. { "7.1661314E-21", "4.10364E-21",
  294. "1.1269772E-20" },
  295. { "8.181265E-21", "-4.6898657E-21",
  296. "3.4913997E-21" },
  297. { "-8.570217E-21", "-5.5145446E-21",
  298. "-1.4084761E-20" },
  299. { "1.3507604E-23", "-7.152723E-21",
  300. "-7.139215E-21" },
  301. { "-7.859527E-21", "-9.369602E-21",
  302. "-1.7229128E-20" },
  303. { "-4.9014434E-21", "1.4580911E-21",
  304. "-3.443352E-21" },
  305. };