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

25 years ago
25 years ago
  1. #include "exam.h"
  2. #include <cln/ffloat.h>
  3. #include <cln/ffloat_io.h>
  4. static div_test ffloat_div_tests[] = {
  5. { "0.73739415", "0.6416277",
  6. "1.1492554" },
  7. { "0.6736158", "-0.25522494",
  8. "-2.6393025" },
  9. { "-0.44216943", "0.31134832",
  10. "-1.420176" },
  11. { "-0.7041118", "-0.26929635",
  12. "2.6146355" },
  13. { "0.3573562", "0.73521775",
  14. "0.4860549" },
  15. { "-0.7661392", "0.77110463",
  16. "-0.9935606" },
  17. { "-0.91306114", "1.6586358E9",
  18. "-5.504892E-10" },
  19. { "-0.68994707", "4.0230333E8",
  20. "-1.7149921E-9" },
  21. { "0.28498656", "-7.617844E9",
  22. "-3.7410394E-11" },
  23. { "-0.72419757", "-9.226896E9",
  24. "7.848767E-11" },
  25. { "0.8352187", "8.3102536E9",
  26. "1.00504605E-10" },
  27. { "0.9707725", "3.3669448E9",
  28. "2.8832445E-10" },
  29. { "0.50785017", "6.048824E-11",
  30. "8.3958497E9" },
  31. { "-0.17675805", "4.1391092E-11",
  32. "-4.270437E9" },
  33. { "-0.42162335", "-4.4007357E-11",
  34. "9.580747E9" },
  35. { "-7.945299E-4", "-5.4965265E-11",
  36. "1.4455128E7" },
  37. { "-0.65178335", "-9.78151E-12",
  38. "6.6634228E10" },
  39. { "-0.6209788", "-3.8544803E-11",
  40. "1.611057E10" },
  41. { "0.94332725", "-4.9823833E19",
  42. "-1.8933253E-20" },
  43. { "0.30150706", "-4.9741757E19",
  44. "-6.061448E-21" },
  45. { "-0.8478371", "-9.85865E18",
  46. "8.5999306E-20" },
  47. { "-0.28524554", "3.1389898E19",
  48. "-9.087176E-21" },
  49. { "-0.5260848", "-7.936286E19",
  50. "6.6288534E-21" },
  51. { "-0.12941593", "-5.3575864E19",
  52. "2.415564E-21" },
  53. { "-0.20859545", "-9.867267E-21",
  54. "2.1140145E19" },
  55. { "0.35158414", "-8.2825064E-22",
  56. "-4.2449002E20" },
  57. { "-0.05635804", "-2.2999601E-21",
  58. "2.450392E19" },
  59. { "-0.003138721", "-3.3988403E-21",
  60. "9.234682E17" },
  61. { "-0.91386896", "-5.8199337E-21",
  62. "1.5702395E20" },
  63. { "-0.5374476", "2.256708E-21",
  64. "-2.3815556E20" },
  65. { "1.9669795E9", "-0.58137333",
  66. "-3.3833329E9" },
  67. { "-8.9879334E8", "0.35829848",
  68. "-2.5085046E9" },
  69. { "-9.057627E9", "0.4849478",
  70. "-1.867753E10" },
  71. { "3.687799E8", "-0.34055912",
  72. "-1.082866E9" },
  73. { "-5.1049994E9", "-0.16858816",
  74. "3.0280888E10" },
  75. { "-4.512774E9", "0.9385354",
  76. "-4.8083154E9" },
  77. { "-1.9312024E9", "-8.3940613E9",
  78. "0.2300677" },
  79. { "-8.2104387E9", "6.769607E9",
  80. "-1.2128383" },
  81. { "-6.9613486E9", "4.576518E9",
  82. "-1.5211015" },
  83. { "-1.486333E9", "1.2476433E9",
  84. "-1.1913126" },
  85. { "-7.653413E9", "5.167656E9",
  86. "-1.4810221" },
  87. { "-2.9815204E9", "8.942396E9",
  88. "-0.33341402" },
  89. { "9.304549E9", "-5.8002263E-11",
  90. "-1.60417E20" },
  91. { "-2.0750719E9", "1.272735E-11",
  92. "-1.6304037E20" },
  93. { "-1.1557549E9", "-7.2220556E-11",
  94. "1.6003129E19" },
  95. { "-3.3273495E9", "-9.9207274E-11",
  96. "3.353937E19" },
  97. { "-3.2167434E9", "7.7474506E-11",
  98. "-4.1520026E19" },
  99. { "4.4169416E9", "-4.638272E-11",
  100. "-9.5228166E19" },
  101. { "-3.732909E9", "-2.2763849E18",
  102. "1.6398409E-9" },
  103. { "-6.243126E9", "-4.1274483E19",
  104. "1.5125873E-10" },
  105. { "4.7162563E9", "-7.524631E19",
  106. "-6.267758E-11" },
  107. { "-1.3657349E9", "7.728982E19",
  108. "-1.7670308E-11" },
  109. { "-4.6216906E8", "-7.972877E19",
  110. "5.7967663E-12" },
  111. { "4.4542986E9", "3.1531836E19",
  112. "1.4126353E-10" },
  113. { "1.4738977E9", "-9.8130876E-21",
  114. "-1.5019714E29" },
  115. { "-5.918336E9", "2.9877495E-21",
  116. "-1.9808676E30" },
  117. { "-3.7166292E9", "-1.0826009E-21",
  118. "3.433056E30" },
  119. { "7.390683E9", "-2.1678685E-22",
  120. "-3.4091935E31" },
  121. { "6.2302886E8", "8.9466635E-21",
  122. "6.963812E28" },
  123. { "5.2357125E9", "4.854464E-22",
  124. "1.0785356E31" },
  125. { "-2.7721167E-11", "0.99550104",
  126. "-2.7846447E-11" },
  127. { "5.754337E-11", "-0.6344538",
  128. "-9.06975E-11" },
  129. { "-7.663363E-11", "0.020810604",
  130. "-3.6824317E-9" },
  131. { "3.2576632E-11", "0.6209498",
  132. "5.2462586E-11" },
  133. { "-9.507874E-11", "-0.19174337",
  134. "4.958645E-10" },
  135. { "-9.681176E-11", "-0.82680905",
  136. "1.1709084E-10" },
  137. { "6.458532E-11", "3.442031E8",
  138. "1.8763725E-19" },
  139. { "1.9113166E-11", "-7.0712125E9",
  140. "-2.7029546E-21" },
  141. { "-2.0099402E-12", "2.600844E9",
  142. "-7.7280303E-22" },
  143. { "-4.9634992E-12", "8.041176E9",
  144. "-6.1726036E-22" },
  145. { "3.2738747E-12", "7.299675E9",
  146. "4.484959E-22" },
  147. { "9.133733E-12", "-2.6318538E9",
  148. "-3.470456E-21" },
  149. { "-3.4146054E-11", "-1.5331155E-11",
  150. "2.227233" },
  151. { "6.06336E-11", "4.3750472E-11",
  152. "1.385896" },
  153. { "-4.229064E-11", "-9.169808E-11",
  154. "0.4611944" },
  155. { "6.166104E-11", "-3.5474658E-11",
  156. "-1.7381715" },
  157. { "-3.979801E-11", "-1.9510412E-11",
  158. "2.0398343" },
  159. { "9.726933E-11", "-5.6926824E-11",
  160. "-1.7086731" },
  161. { "8.041786E-11", "2.3718388E19",
  162. "3.3905282E-30" },
  163. { "-6.747094E-11", "-6.7324465E19",
  164. "1.0021756E-30" },
  165. { "-3.0713255E-11", "-4.8310887E19",
  166. "6.357419E-31" },
  167. { "-2.8496396E-11", "-4.9017306E19",
  168. "5.813538E-31" },
  169. { "-9.354275E-12", "-9.035095E19",
  170. "1.0353266E-31" },
  171. { "4.9274265E-12", "7.241873E19",
  172. "6.8040775E-32" },
  173. { "-4.377009E-11", "7.138917E-21",
  174. "-6.131195E9" },
  175. { "9.422678E-12", "-5.8862136E-21",
  176. "-1.6008046E9" },
  177. { "-6.83782E-11", "-3.6098812E-21",
  178. "1.8941952E10" },
  179. { "-8.1755075E-11", "-6.8725736E-21",
  180. "1.1895846E10" },
  181. { "-6.360949E-11", "4.2976342E-21",
  182. "-1.4801049E10" },
  183. { "3.3879413E-11", "-1.7169743E-21",
  184. "-1.9732044E10" },
  185. { "-9.948093E18", "-0.8695114",
  186. "1.1441014E19" },
  187. { "6.2748975E19", "-0.94829553",
  188. "-6.6170272E19" },
  189. { "-6.204444E18", "0.6874813",
  190. "-9.0248915E18" },
  191. { "6.7599936E19", "-0.45808762",
  192. "-1.4756988E20" },
  193. { "7.624068E19", "0.008471012",
  194. "9.0001855E21" },
  195. { "8.342225E19", "-0.3031574",
  196. "-2.7517803E20" },
  197. { "-6.3366795E19", "-1.4882481E9",
  198. "4.2578113E10" },
  199. { "-1.7335874E19", "-7.42875E9",
  200. "2.3336195E9" },
  201. { "-8.662651E19", "1.0327226E9",
  202. "-8.388168E10" },
  203. { "-4.9590965E19", "8.334462E9",
  204. "-5.95011E9" },
  205. { "8.191562E18", "5.930472E9",
  206. "1.3812664E9" },
  207. { "-3.5910857E19", "-7.342098E9",
  208. "4.8910894E9" },
  209. { "-3.6083056E19", "5.7372277E-11",
  210. "-6.2892843E29" },
  211. { "2.2896613E19", "-4.541202E-11",
  212. "-5.0419717E29" },
  213. { "6.1438805E19", "8.512014E-11",
  214. "7.217893E29" },
  215. { "6.3211746E19", "-6.185377E-12",
  216. "-1.0219547E31" },
  217. { "4.5452835E18", "2.0429606E-11",
  218. "2.2248514E29" },
  219. { "9.226608E19", "1.3297486E-11",
  220. "6.9386104E30" },
  221. { "1.8852943E19", "-1.623413E19",
  222. "-1.1613153" },
  223. { "-3.117305E18", "-9.5760065E19",
  224. "0.03255329" },
  225. { "-7.719376E19", "3.3627052E19",
  226. "-2.295585" },
  227. { "3.1309093E19", "-7.820006E19",
  228. "-0.4003717" },
  229. { "3.941958E19", "-9.51598E19",
  230. "-0.41424614" },
  231. { "-3.6364467E19", "-1.0757047E19",
  232. "3.380525" },
  233. { "2.906561E17", "-8.595159E-21",
  234. "-3.3816258E37" },
  235. { "-7.826226E-21", "-0.21695328",
  236. "3.6073327E-20" },
  237. { "-1.888169E-21", "0.5031878",
  238. "-3.7524144E-21" },
  239. { "8.304594E-21", "-0.3528648",
  240. "-2.3534775E-20" },
  241. { "-8.441606E-21", "-0.3639353",
  242. "2.3195348E-20" },
  243. { "-7.815205E-21", "0.38263506",
  244. "-2.0424697E-20" },
  245. { "-3.2837188E-21", "0.46961308",
  246. "-6.992392E-21" },
  247. { "-5.1739832E-21", "-3.8917279E9",
  248. "1.3294822E-30" },
  249. { "-5.3318596E-21", "-7.1995423E9",
  250. "7.405831E-31" },
  251. { "-7.4979364E-22", "9.148773E9",
  252. "-8.195565E-32" },
  253. { "4.6800053E-21", "3.9532006E8",
  254. "1.1838522E-29" },
  255. { "4.914653E-22", "-2.414465E9",
  256. "-2.035504E-31" },
  257. { "5.4722133E-21", "-9.977777E9",
  258. "-5.484401E-31" },
  259. { "9.815656E-21", "6.059642E-11",
  260. "1.619841E-10" },
  261. { "7.660357E-21", "9.7074675E-11",
  262. "7.891201E-11" },
  263. { "9.77743E-21", "2.5170428E-11",
  264. "3.8844908E-10" },
  265. { "8.818017E-21", "1.18070545E-11",
  266. "7.468431E-10" },
  267. { "5.445426E-21", "9.6208916E-11",
  268. "5.6600016E-11" },
  269. { "4.6823916E-21", "-1.9853067E-11",
  270. "-2.358523E-10" },
  271. { "9.347429E-21", "-7.285392E-22",
  272. "-12.830372" },
  273. { "-7.304412E-21", "6.766496E-21",
  274. "-1.079497" },
  275. { "-2.6850204E-21", "6.894023E-21",
  276. "-0.38947076" },
  277. { "-2.24644E-21", "-9.533858E-21",
  278. "0.23562758" },
  279. { "-8.525939E-21", "-9.961187E-22",
  280. "8.559159" },
  281. { "8.145676E-21", "4.304153E-22",
  282. "18.925154" },
  283. };