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

25 years ago
25 years ago
  1. #include "exam.h"
  2. #include <cln/dfloat.h>
  3. #include <cln/dfloat_io.h>
  4. static minus_test dfloat_minus_tests[] = {
  5. { "-0.011326914400453525d0", "-0.6668141757661364d0",
  6. "0.6554872613656829d0" },
  7. { "-0.46185382764946437d0", "0.7488210697846337d0",
  8. "-1.2106748974340982d0" },
  9. { "-0.35834120541234993d0", "-0.30919976341834987d0",
  10. "-0.04914144199400006d0" },
  11. { "0.44705025064976966d0", "-0.9277893553610955d0",
  12. "1.3748396060108652d0" },
  13. { "-0.47647537517067917d0", "0.29158058381073604d0",
  14. "-0.7680559589814152d0" },
  15. { "-0.021697999002707746d0", "0.1779871773524142d0",
  16. "-0.19968517635512195d0" },
  17. { "0.4179484378019861d0", "9.9990307469939d9",
  18. "-9.999030746575953d9" },
  19. { "-0.7475415524823718d0", "1.3993312799214797d9",
  20. "-1.3993312806690214d9" },
  21. { "0.2519442433861928d0", "-6.699632771871848d9",
  22. "6.699632772123793d9" },
  23. { "-0.5124988631497671d0", "2.7959244812290273d9",
  24. "-2.795924481741526d9" },
  25. { "-0.6870193827604301d0", "4.851102442573468d9",
  26. "-4.851102443260488d9" },
  27. { "0.7609656780357723d0", "7.481252865855436d8",
  28. "-7.481252858245779d8" },
  29. { "-0.6301276042170191d0", "-7.099314875214215d-11",
  30. "-0.630127604146026d0" },
  31. { "-0.4139053484357884d0", "-2.897413526398709d-11",
  32. "-0.41390534840681426d0" },
  33. { "-0.6944623060197281d0", "-3.291569879873739d-11",
  34. "-0.6944623059868125d0" },
  35. { "-0.2057822500703933d0", "3.6505182026159854d-11",
  36. "-0.2057822501068985d0" },
  37. { "-0.8792706674467908d0", "8.094527736950817d-11",
  38. "-0.8792706675277361d0" },
  39. { "-0.6888184243601332d0", "9.127622796988807d-11",
  40. "-0.6888184244514094d0" },
  41. { "-0.980711030497252d0", "8.752272461345245d19",
  42. "-8.752272461345245d19" },
  43. { "0.8035082489836539d0", "-3.903355151264917d19",
  44. "3.903355151264917d19" },
  45. { "-0.7537841372394811d0", "-5.879942447417834d19",
  46. "5.879942447417834d19" },
  47. { "-0.6877475951546845d0", "-2.3972266191169642d19",
  48. "2.3972266191169642d19" },
  49. { "-0.43128282112433525d0", "-5.422824998003439d19",
  50. "5.422824998003439d19" },
  51. { "0.29538116818276694d0", "1.1291858990580939d19",
  52. "-1.1291858990580939d19" },
  53. { "0.9166687388673976d0", "6.395175407123937d-21",
  54. "0.9166687388673976d0" },
  55. { "0.41840538498193025d0", "-2.6655662412599155d-21",
  56. "0.41840538498193025d0" },
  57. { "-0.8036940092501853d0", "6.7473779576832565d-21",
  58. "-0.8036940092501853d0" },
  59. { "0.8555054025209989d0", "-7.939970418096797d-21",
  60. "0.8555054025209989d0" },
  61. { "0.3365495704567003d0", "8.694519827555395d-21",
  62. "0.3365495704567003d0" },
  63. { "-0.7430322011471231d0", "7.430332379292914d-22",
  64. "-0.7430322011471231d0" },
  65. { "5.102372414731216d9", "-0.5073635765350494d0",
  66. "5.10237241523858d9" },
  67. { "4.629827365822252d9", "0.6534380055543355d0",
  68. "4.629827365168815d9" },
  69. { "7.218192507117569d9", "0.9781542046565127d0",
  70. "7.218192506139415d9" },
  71. { "6.595760326622413d8", "0.7339510561932947d0",
  72. "6.595760319282902d8" },
  73. { "7.191166637703489d9", "0.80792475493853d0",
  74. "7.191166636895564d9" },
  75. { "-7.95531405213956d9", "0.5353636841430115d0",
  76. "-7.955314052674924d9" },
  77. { "5.438904545553836d8", "6.533536518165114d9",
  78. "-5.989646063609731d9" },
  79. { "-7.389650313101625d8", "-9.983943153365381d9",
  80. "9.244978122055218d9" },
  81. { "8.364404619492165d9", "-7.600563055115287d9",
  82. "1.5964967674607452d10" },
  83. { "2.070813748323649d9", "6.421052769114957d9",
  84. "-4.350239020791307d9" },
  85. { "-2.8555256820439434d9", "-3.4077342921686625d8",
  86. "-2.514752252827077d9" },
  87. { "9.147878229420991d8", "8.439982790150545d9",
  88. "-7.5251949672084465d9" },
  89. { "-4.315772980070098d9", "-6.48869466068404d-11",
  90. "-4.315772980070098d9" },
  91. { "-3.5186299785635023d9", "3.990046539849716d-11",
  92. "-3.5186299785635023d9" },
  93. { "2.5645532837267537d9", "8.566645694205622d-13",
  94. "2.5645532837267537d9" },
  95. { "6.145110896031829d9", "-9.242734002954773d-11",
  96. "6.145110896031829d9" },
  97. { "-6.6836855975624d9", "9.117930361283473d-11",
  98. "-6.6836855975624d9" },
  99. { "-1.7472828462085754d8", "-5.125838712019503d-11",
  100. "-1.7472828462085754d8" },
  101. { "9.05675399397055d9", "9.086705650502484d19",
  102. "-9.08670564959681d19" },
  103. { "-5.834806594586836d9", "9.981576053842906d19",
  104. "-9.981576054426386d19" },
  105. { "3.047010922754272d9", "1.1715352070471352d19",
  106. "-1.1715352067424342d19" },
  107. { "7.294295638574767d9", "2.845702947515113d19",
  108. "-2.8457029467856835d19" },
  109. { "8.264143132493019d9", "-1.6322956072452289d19",
  110. "1.6322956080716431d19" },
  111. { "-9.597823287256088d9", "3.954126758718671d19",
  112. "-3.954126759678453d19" },
  113. { "3.229389511771705d9", "-4.329831377266493d-21",
  114. "3.229389511771705d9" },
  115. { "6.897089200279753d9", "2.4428208790287663d-21",
  116. "6.897089200279753d9" },
  117. { "2.3579775300187545d9", "4.729400988996349d-21",
  118. "2.3579775300187545d9" },
  119. { "1.6718929117460046d9", "5.8162277016717065d-21",
  120. "1.6718929117460046d9" },
  121. { "2.537177500868296d9", "1.4856605280697543d-21",
  122. "2.537177500868296d9" },
  123. { "6.117674696930935d9", "-1.6187214719634357d-21",
  124. "6.117674696930935d9" },
  125. { "4.1877888304549216d-11", "-0.06920550501017497d0",
  126. "0.06920550505205286d0" },
  127. { "9.61054846124015d-11", "0.885309193732889d0",
  128. "-0.8853091936367835d0" },
  129. { "2.5559085051828467d-11", "-0.8112181469812297d0",
  130. "0.8112181470067888d0" },
  131. { "-1.4549570208293283d-12", "-0.5049325945871657d0",
  132. "0.5049325945857107d0" },
  133. { "-7.091628047158497d-11", "0.61946884965934d0",
  134. "-0.6194688497302563d0" },
  135. { "2.877466355456826d-11", "0.4496491857374d0",
  136. "-0.44964918570862533d0" },
  137. { "1.3041612488449928d-12", "5.408018587130755d9",
  138. "-5.408018587130755d9" },
  139. { "-5.379752339715717d-11", "-4.009594691514288d9",
  140. "4.009594691514288d9" },
  141. { "7.023042501342336d-12", "-3.4153434285746374d9",
  142. "3.4153434285746374d9" },
  143. { "6.968174934871611d-11", "4.713087404332662d9",
  144. "-4.713087404332662d9" },
  145. { "-5.153562653896506d-11", "-8.44732228013254d8",
  146. "8.44732228013254d8" },
  147. { "-8.424177457818745d-11", "1.6817117809824567d9",
  148. "-1.6817117809824567d9" },
  149. { "3.374755984316538d-11", "8.893678266883364d-11",
  150. "-5.5189222825668264d-11" },
  151. { "-8.684123447823306d-11", "-7.888825869147879d-11",
  152. "-7.952975786754267d-12" },
  153. { "7.788477523205632d-11", "1.741674745286914d-11",
  154. "6.046802777918718d-11" },
  155. { "6.546622477606044d-11", "-4.7719651007530584d-11",
  156. "1.1318587578359101d-10" },
  157. { "-1.8595152377503265d-11", "5.7288738553553045d-11",
  158. "-7.588389093105631d-11" },
  159. { "-8.184033550427558d-11", "-8.834399228929296d-11",
  160. "6.503656785017376d-12" },
  161. { "5.749469292140762d-11", "7.493129199779113d19",
  162. "-7.493129199779113d19" },
  163. { "-5.2285095120702066d-11", "-2.0611179974216552d19",
  164. "2.0611179974216552d19" },
  165. { "-8.84727820032067d-11", "4.7423077384022024d19",
  166. "-4.7423077384022024d19" },
  167. { "3.437676989338625d-11", "-3.5368755480277647d19",
  168. "3.5368755480277647d19" },
  169. { "2.2665031619145437d-11", "-6.072845659234921d19",
  170. "6.072845659234921d19" },
  171. { "-8.429070146313393d-11", "5.134329153614969d18",
  172. "-5.134329153614969d18" },
  173. { "-9.009531819191212d-11", "2.301790665456671d-22",
  174. "-9.00953181921423d-11" },
  175. { "-2.706942469371907d-11", "9.282350542107287d-21",
  176. "-2.706942470300142d-11" },
  177. { "5.358266626996117d-11", "-4.409057695582885d-22",
  178. "5.358266627040208d-11" },
  179. { "-7.189537285608088d-11", "9.569273217393917d-21",
  180. "-7.189537286565016d-11" },
  181. { "-4.160295905335358d-11", "5.930867524794025d-21",
  182. "-4.160295905928445d-11" },
  183. { "6.7922062777334035d-12", "-7.747524338474154d-22",
  184. "6.792206278508156d-12" },
  185. { "-9.038821102045805d19", "0.04779131019959271d0",
  186. "-9.038821102045805d19" },
  187. { "2.2020595055495963d19", "-0.424631558292516d0",
  188. "2.2020595055495963d19" },
  189. { "-8.164003027214308d19", "0.6832198147365239d0",
  190. "-8.164003027214308d19" },
  191. { "-3.878233560364984d19", "-0.28756619113600546d0",
  192. "-3.878233560364984d19" },
  193. { "7.0829003521450525d19", "-0.6071548125948544d0",
  194. "7.0829003521450525d19" },
  195. { "5.968540808784698d19", "0.7674294173432648d0",
  196. "5.968540808784698d19" },
  197. { "-2.2143621795153547d19", "-2.443529365769125d9",
  198. "-2.2143621792710017d19" },
  199. { "-9.77092538926342d18", "5.903189771537687d8",
  200. "-9.77092538985374d18" },
  201. { "9.974714452399537d19", "-6.980456691485629d9",
  202. "9.974714453097582d19" },
  203. { "1.7428950527159094d18", "3.68843657888816d9",
  204. "1.742895049027473d18" },
  205. { "-1.1094381875350845d19", "-7.157723640671709d9",
  206. "-1.1094381868193122d19" },
  207. { "-3.638795590369631d19", "6.9246542750294075d9",
  208. "-3.6387955910620963d19" },
  209. { "-5.66543282261991d19", "-5.1005028153082024d-11",
  210. "-5.66543282261991d19" },
  211. { "-3.901527864456216d19", "-1.064153465992923d-12",
  212. "-3.901527864456216d19" },
  213. { "1.1477489418879848d19", "3.327888063907735d-11",
  214. "1.1477489418879848d19" },
  215. { "3.508978072054437d19", "9.238453417997638d-11",
  216. "3.508978072054437d19" },
  217. { "-4.7642024461416964d19", "-4.758309941438892d-11",
  218. "-4.7642024461416964d19" },
  219. { "-8.307715835429606d19", "3.313910202186439d-11",
  220. "-8.307715835429606d19" },
  221. { "2.704675010192592d18", "-2.6840207147078365d19",
  222. "2.954488215727096d19" },
  223. { "-9.860969100714668d18", "-4.719594638795429d19",
  224. "3.7334977287239614d19" },
  225. { "7.87799781828944d18", "-6.657221298850535d19",
  226. "7.44502108067948d19" },
  227. { "-3.3937781740759863d19", "4.783805995045389d19",
  228. "-8.177584169121376d19" },
  229. { "-1.0747572720102216d19", "-1.7144708598072445d19",
  230. "6.397135877970229d18" },
  231. { "1.3938845733158445d19", "5.604369854609131d19",
  232. "-4.210485281293287d19" },
  233. { "6.0938348303695315d19", "1.1005522580049531d-21",
  234. "6.0938348303695315d19" },
  235. { "-2.4870844028694925d19", "1.5391650322730598d-22",
  236. "-2.4870844028694925d19" },
  237. { "7.323118607079343d19", "6.637280375859432d-21",
  238. "7.323118607079343d19" },
  239. { "-4.181201584825501d19", "4.768935182006663d-21",
  240. "-4.181201584825501d19" },
  241. { "4.1225910279381205d19", "6.117191687463543d-21",
  242. "4.1225910279381205d19" },
  243. { "6.438313875980151d17", "-1.4883489002691529d-21",
  244. "6.438313875980151d17" },
  245. { "-4.573961206963222d-21", "0.3586300020381973d0",
  246. "-0.3586300020381973d0" },
  247. { "7.74206782371325d-22", "0.23168389210368656d0",
  248. "-0.23168389210368656d0" },
  249. { "8.572446613640605d-21", "0.6114581963443891d0",
  250. "-0.6114581963443891d0" },
  251. { "-8.539467934859551d-21", "0.33474735899049d0",
  252. "-0.33474735899049d0" },
  253. { "-5.55811309570968d-21", "-0.9637216018651454d0",
  254. "0.9637216018651454d0" },
  255. { "-6.705839413964189d-21", "0.3787619614522374d0",
  256. "-0.3787619614522374d0" },
  257. { "1.338539206480238d-22", "6.683968625235106d9",
  258. "-6.683968625235106d9" },
  259. { "-9.64078167549023d-21", "3.291420859310843d9",
  260. "-3.291420859310843d9" },
  261. { "-9.26536204591093d-22", "2.9839295142529476d8",
  262. "-2.9839295142529476d8" },
  263. { "-3.647737608953592d-21", "6.115300020921433d8",
  264. "-6.115300020921433d8" },
  265. { "1.4069763806331204d-21", "-1.183109060480878d9",
  266. "1.183109060480878d9" },
  267. { "-6.0037865798761924d-21", "-7.442246743849378d9",
  268. "7.442246743849378d9" },
  269. { "-5.994118986299138d-21", "-9.091558282012836d-11",
  270. "9.091558281413425d-11" },
  271. { "6.969393585974241d-21", "3.435352867093995d-11",
  272. "-3.435352866397056d-11" },
  273. { "-6.278554484817533d-22", "-4.7211920270841604d-11",
  274. "4.721192027021375d-11" },
  275. { "-8.603262886304741d-21", "1.7296517702077242d-11",
  276. "-1.7296517710680505d-11" },
  277. { "4.104502790901735d-21", "-4.8473213720301105d-11",
  278. "4.847321372440561d-11" },
  279. { "-4.449725859444968d-21", "-8.944265568403936d-11",
  280. "8.944265567958964d-11" },
  281. { "4.828216540804827d-21", "-1.1712152029346877d19",
  282. "1.1712152029346877d19" },
  283. { "-5.65034940464881d-21", "-9.445303840982011d19",
  284. "9.445303840982011d19" },
  285. { "-7.24107519738777d-21", "2.340578690102746d19",
  286. "-2.340578690102746d19" },
  287. { "1.7659593956231534d-21", "-8.048768257390671d18",
  288. "8.048768257390671d18" },
  289. { "-3.0538518255248124d-21", "8.834631867521575d19",
  290. "-8.834631867521575d19" },
  291. { "8.57952908388053d-21", "-5.730742870111307d19",
  292. "5.730742870111307d19" },
  293. { "-4.5090103564928485d-21", "1.8907114777916313d-21",
  294. "-6.399721834284479d-21" },
  295. { "-3.8487625143236447d-22", "5.354282198078924d-21",
  296. "-5.739158449511288d-21" },
  297. { "2.6660110440404615d-22", "3.833744224501756d-22",
  298. "-1.1677331804612944d-22" },
  299. { "-7.503762004261027d-22", "-9.623906576475644d-21",
  300. "8.873530376049542d-21" },
  301. { "-9.113431042260725d-21", "-3.5516521546085545d-21",
  302. "-5.56177888765217d-21" },
  303. { "-3.4813735333296525d-21", "-2.6602650182385188d-21",
  304. "-8.211085150911337d-22" },
  305. };