libm-test-ulps-i386 24 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261
  1. # Begin of automatic generation
  2. # acos
  3. Test "acos (0.75) == 0.722734247813415611178377352641333362":
  4. ildouble: 1
  5. ldouble: 1
  6. # asin
  7. Test "asin (-0.5) == -pi/6":
  8. ildouble: 1
  9. ldouble: 1
  10. Test "asin (-1.0) == -pi/2":
  11. ildouble: 1
  12. ldouble: 1
  13. Test "asin (0.5) == pi/6":
  14. ildouble: 1
  15. ldouble: 1
  16. Test "asin (0.75) == 0.848062078981481008052944338998418080":
  17. ildouble: 1
  18. ldouble: 1
  19. Test "asin (1.0) == pi/2":
  20. ildouble: 1
  21. ldouble: 1
  22. # atanh
  23. Test "atanh (0.75) == 0.972955074527656652552676371721589865":
  24. ildouble: 2
  25. ldouble: 1
  26. # cacos
  27. Test "Imaginary part of: cacos (0.75 + 1.25 i) == 1.11752014915610270578240049553777969 - 1.13239363160530819522266333696834467 i":
  28. float: 1
  29. ifloat: 1
  30. ildouble: 2
  31. ldouble: 2
  32. # cacosh
  33. Test "Real part of: cacosh (-2 - 3 i) == 1.9833870299165354323470769028940395 - 2.1414491111159960199416055713254211 i":
  34. double: 1
  35. float: 9
  36. idouble: 1
  37. ifloat: 9
  38. ildouble: 6
  39. ldouble: 6
  40. Test "Imaginary part of: cacosh (-2 - 3 i) == 1.9833870299165354323470769028940395 - 2.1414491111159960199416055713254211 i":
  41. double: 1
  42. float: 4
  43. idouble: 1
  44. ifloat: 4
  45. ildouble: 1
  46. ldouble: 1
  47. Test "Real part of: cacosh (0.75 + 1.25 i) == 1.13239363160530819522266333696834467 + 1.11752014915610270578240049553777969 i":
  48. ildouble: 1
  49. ldouble: 1
  50. # casin
  51. Test "Real part of: casin (0.75 + 1.25 i) == 0.453276177638793913448921196101971749 + 1.13239363160530819522266333696834467 i":
  52. double: 1
  53. float: 1
  54. idouble: 1
  55. ifloat: 1
  56. ildouble: 2
  57. ldouble: 2
  58. Test "Imaginary part of: casin (0.75 + 1.25 i) == 0.453276177638793913448921196101971749 + 1.13239363160530819522266333696834467 i":
  59. float: 1
  60. ifloat: 1
  61. ildouble: 2
  62. ldouble: 2
  63. # casinh
  64. Test "Real part of: casinh (-2 - 3 i) == -1.9686379257930962917886650952454982 - 0.96465850440760279204541105949953237 i":
  65. double: 5
  66. float: 1
  67. idouble: 5
  68. ifloat: 1
  69. ildouble: 5
  70. ldouble: 5
  71. Test "Imaginary part of: casinh (-2 - 3 i) == -1.9686379257930962917886650952454982 - 0.96465850440760279204541105949953237 i":
  72. double: 3
  73. float: 6
  74. idouble: 3
  75. ifloat: 6
  76. ildouble: 5
  77. ldouble: 5
  78. Test "Real part of: casinh (0.75 + 1.25 i) == 1.03171853444778027336364058631006594 + 0.911738290968487636358489564316731207 i":
  79. float: 1
  80. ifloat: 1
  81. Test "Imaginary part of: casinh (0.75 + 1.25 i) == 1.03171853444778027336364058631006594 + 0.911738290968487636358489564316731207 i":
  82. double: 1
  83. float: 1
  84. idouble: 1
  85. ifloat: 1
  86. ildouble: 1
  87. ldouble: 1
  88. # catan
  89. Test "Imaginary part of: catan (-2 - 3 i) == -1.4099210495965755225306193844604208 - 0.22907268296853876629588180294200276 i":
  90. double: 1
  91. float: 1
  92. idouble: 1
  93. ifloat: 1
  94. # catanh
  95. Test "Real part of: catanh (-2 - 3 i) == -0.14694666622552975204743278515471595 - 1.3389725222944935611241935759091443 i":
  96. double: 2
  97. float: 1
  98. idouble: 2
  99. ifloat: 1
  100. ildouble: 1
  101. ldouble: 1
  102. Test "Real part of: catanh (0.75 + 1.25 i) == 0.261492138795671927078652057366532140 + 0.996825126463918666098902241310446708 i":
  103. double: 1
  104. idouble: 1
  105. # cbrt
  106. Test "cbrt (-27.0) == -3.0":
  107. ildouble: 1
  108. ldouble: 1
  109. Test "cbrt (0.75) == 0.908560296416069829445605878163630251":
  110. ildouble: 1
  111. ldouble: 1
  112. # ccos
  113. Test "Imaginary part of: ccos (-2 - 3 i) == -4.18962569096880723013255501961597373 - 9.10922789375533659797919726277886212 i":
  114. float: 1
  115. ifloat: 1
  116. ildouble: 1
  117. ldouble: 1
  118. Test "Real part of: ccos (0.75 + 1.25 i) == 1.38173873063425888530729933139078645 - 1.09193013555397466170919531722024128 i":
  119. double: 1
  120. idouble: 1
  121. ildouble: 1
  122. ldouble: 1
  123. Test "Imaginary part of: ccos (0.75 + 1.25 i) == 1.38173873063425888530729933139078645 - 1.09193013555397466170919531722024128 i":
  124. ildouble: 1
  125. ldouble: 1
  126. # ccosh
  127. Test "Imaginary part of: ccosh (-2 - 3 i) == -3.72454550491532256547397070325597253 + 0.511822569987384608834463849801875634 i":
  128. double: 1
  129. float: 1
  130. idouble: 1
  131. ifloat: 1
  132. ildouble: 1
  133. ldouble: 1
  134. Test "Real part of: ccosh (0.75 + 1.25 i) == 0.408242591877968807788852146397499084 + 0.780365930845853240391326216300863152 i":
  135. double: 1
  136. float: 1
  137. idouble: 1
  138. ifloat: 1
  139. Test "Imaginary part of: ccosh (0.75 + 1.25 i) == 0.408242591877968807788852146397499084 + 0.780365930845853240391326216300863152 i":
  140. double: 1
  141. float: 1
  142. idouble: 1
  143. ifloat: 1
  144. # cexp
  145. Test "Real part of: cexp (-2.0 - 3.0 i) == -0.13398091492954261346140525546115575 - 0.019098516261135196432576240858800925 i":
  146. ildouble: 1
  147. ldouble: 1
  148. Test "Imaginary part of: cexp (-2.0 - 3.0 i) == -0.13398091492954261346140525546115575 - 0.019098516261135196432576240858800925 i":
  149. ildouble: 1
  150. ldouble: 1
  151. Test "Real part of: cexp (0.75 + 1.25 i) == 0.667537446429131586942201977015932112 + 2.00900045494094876258347228145863909 i":
  152. ildouble: 1
  153. ldouble: 1
  154. # clog
  155. Test "Real part of: clog (0.75 + 1.25 i) == 0.376885901188190075998919126749298416 + 1.03037682652431246378774332703115153 i":
  156. float: 1
  157. ifloat: 1
  158. ildouble: 1
  159. ldouble: 1
  160. # clog10
  161. Test "Imaginary part of: clog10 (-0 + inf i) == inf + pi/2*log10(e) i":
  162. double: 1
  163. float: 1
  164. idouble: 1
  165. ifloat: 1
  166. Test "Imaginary part of: clog10 (-0 - inf i) == inf - pi/2*log10(e) i":
  167. double: 1
  168. float: 1
  169. idouble: 1
  170. ifloat: 1
  171. Test "Imaginary part of: clog10 (-2 - 3 i) == 0.556971676153418384603252578971164214 - 0.937554462986374708541507952140189646 i":
  172. double: 1
  173. idouble: 1
  174. ildouble: 1
  175. ldouble: 1
  176. Test "Imaginary part of: clog10 (-3 + inf i) == inf + pi/2*log10(e) i":
  177. double: 1
  178. float: 1
  179. idouble: 1
  180. ifloat: 1
  181. Test "Imaginary part of: clog10 (-3 - inf i) == inf - pi/2*log10(e) i":
  182. double: 1
  183. float: 1
  184. idouble: 1
  185. ifloat: 1
  186. Test "Imaginary part of: clog10 (-inf + 0 i) == inf + pi*log10(e) i":
  187. double: 1
  188. float: 1
  189. idouble: 1
  190. ifloat: 1
  191. Test "Imaginary part of: clog10 (-inf + 1 i) == inf + pi*log10(e) i":
  192. double: 1
  193. float: 1
  194. idouble: 1
  195. ifloat: 1
  196. Test "Imaginary part of: clog10 (-inf + inf i) == inf + 3/4 pi*log10(e) i":
  197. double: 1
  198. idouble: 1
  199. Test "Imaginary part of: clog10 (-inf - 0 i) == inf - pi*log10(e) i":
  200. double: 1
  201. float: 1
  202. idouble: 1
  203. ifloat: 1
  204. Test "Imaginary part of: clog10 (-inf - 1 i) == inf - pi*log10(e) i":
  205. double: 1
  206. float: 1
  207. idouble: 1
  208. ifloat: 1
  209. Test "Imaginary part of: clog10 (0 + inf i) == inf + pi/2*log10(e) i":
  210. double: 1
  211. float: 1
  212. idouble: 1
  213. ifloat: 1
  214. Test "Imaginary part of: clog10 (0 - inf i) == inf - pi/2*log10(e) i":
  215. double: 1
  216. float: 1
  217. idouble: 1
  218. ifloat: 1
  219. Test "Real part of: clog10 (0.75 + 1.25 i) == 0.163679467193165171449476605077428975 + 0.447486970040493067069984724340855636 i":
  220. double: 1
  221. float: 1
  222. idouble: 1
  223. ifloat: 1
  224. ildouble: 1
  225. ldouble: 1
  226. Test "Imaginary part of: clog10 (3 + inf i) == inf + pi/2*log10(e) i":
  227. double: 1
  228. float: 1
  229. idouble: 1
  230. ifloat: 1
  231. Test "Imaginary part of: clog10 (3 - inf i) == inf - pi/2*log10(e) i":
  232. double: 1
  233. float: 1
  234. idouble: 1
  235. ifloat: 1
  236. Test "Imaginary part of: clog10 (inf + inf i) == inf + pi/4*log10(e) i":
  237. double: 1
  238. float: 1
  239. idouble: 1
  240. ifloat: 1
  241. Test "Imaginary part of: clog10 (inf - inf i) == inf - pi/4*log10(e) i":
  242. double: 1
  243. float: 1
  244. idouble: 1
  245. ifloat: 1
  246. # cos
  247. Test "cos (M_PI_6l * 2.0) == 0.5":
  248. double: 1
  249. float: 1
  250. idouble: 1
  251. ifloat: 1
  252. Test "cos (M_PI_6l * 4.0) == -0.5":
  253. double: 2
  254. float: 1
  255. idouble: 2
  256. ifloat: 1
  257. ildouble: 1
  258. ldouble: 1
  259. Test "cos (pi/2) == 0":
  260. double: 1
  261. float: 1
  262. idouble: 1
  263. ifloat: 1
  264. ildouble: 1
  265. ldouble: 1
  266. # cosh
  267. Test "cosh (0.75) == 1.29468328467684468784170818539018176":
  268. ildouble: 1
  269. # cpow
  270. Test "Real part of: cpow (0.75 + 1.25 i, 0.0 + 1.0 i) == 0.331825439177608832276067945276730566 + 0.131338600281188544930936345230903032 i":
  271. float: 1
  272. ifloat: 1
  273. ildouble: 1
  274. ldouble: 1
  275. Test "Imaginary part of: cpow (0.75 + 1.25 i, 0.0 + 1.0 i) == 0.331825439177608832276067945276730566 + 0.131338600281188544930936345230903032 i":
  276. ildouble: 1
  277. ldouble: 1
  278. Test "Real part of: cpow (0.75 + 1.25 i, 0.75 + 1.25 i) == 0.117506293914473555420279832210420483 + 0.346552747708338676483025352060418001 i":
  279. float: 3
  280. ifloat: 3
  281. ildouble: 6
  282. ldouble: 6
  283. Test "Imaginary part of: cpow (0.75 + 1.25 i, 0.75 + 1.25 i) == 0.117506293914473555420279832210420483 + 0.346552747708338676483025352060418001 i":
  284. float: 1
  285. ifloat: 1
  286. ildouble: 1
  287. ldouble: 1
  288. Test "Real part of: cpow (0.75 + 1.25 i, 1.0 + 0.0 i) == 0.75 + 1.25 i":
  289. ildouble: 1
  290. ldouble: 1
  291. Test "Imaginary part of: cpow (0.75 + 1.25 i, 1.0 + 0.0 i) == 0.75 + 1.25 i":
  292. float: 1
  293. ifloat: 1
  294. Test "Real part of: cpow (0.75 + 1.25 i, 1.0 + 1.0 i) == 0.0846958290317209430433805274189191353 + 0.513285749182902449043287190519090481 i":
  295. double: 1
  296. float: 3
  297. idouble: 1
  298. ifloat: 3
  299. ildouble: 3
  300. ldouble: 3
  301. Test "Real part of: cpow (2 + 3 i, 4 + 0 i) == -119.0 - 120.0 i":
  302. double: 1
  303. float: 4
  304. idouble: 1
  305. ifloat: 4
  306. Test "Imaginary part of: cpow (2 + 3 i, 4 + 0 i) == -119.0 - 120.0 i":
  307. float: 1
  308. ifloat: 1
  309. ildouble: 2
  310. ldouble: 2
  311. Test "Imaginary part of: cpow (e + 0 i, 0 + 2 * M_PIl i) == 1.0 + 0.0 i":
  312. double: 2
  313. float: 3
  314. idouble: 2
  315. ifloat: 3
  316. ildouble: 1
  317. ldouble: 1
  318. # csin
  319. Test "Real part of: csin (0.75 + 1.25 i) == 1.28722291002649188575873510790565441 + 1.17210635989270256101081285116138863 i":
  320. float: 1
  321. ifloat: 1
  322. ildouble: 1
  323. ldouble: 1
  324. Test "Imaginary part of: csin (0.75 + 1.25 i) == 1.28722291002649188575873510790565441 + 1.17210635989270256101081285116138863 i":
  325. float: 1
  326. ifloat: 1
  327. # csinh
  328. Test "Real part of: csinh (-2 - 3 i) == 3.59056458998577995201256544779481679 - 0.530921086248519805267040090660676560 i":
  329. double: 1
  330. idouble: 1
  331. Test "Imaginary part of: csinh (-2 - 3 i) == 3.59056458998577995201256544779481679 - 0.530921086248519805267040090660676560 i":
  332. double: 1
  333. float: 1
  334. idouble: 1
  335. ifloat: 1
  336. ildouble: 2
  337. ldouble: 2
  338. Test "Real part of: csinh (0.75 + 1.25 i) == 0.259294854551162779153349830618433028 + 1.22863452409509552219214606515777594 i":
  339. double: 1
  340. float: 1
  341. idouble: 1
  342. ifloat: 1
  343. ildouble: 1
  344. ldouble: 1
  345. Test "Imaginary part of: csinh (0.75 + 1.25 i) == 0.259294854551162779153349830618433028 + 1.22863452409509552219214606515777594 i":
  346. float: 1
  347. ifloat: 1
  348. # ctan
  349. Test "Real part of: ctan (-2 - 3 i) == 0.376402564150424829275122113032269084e-2 - 1.00323862735360980144635859782192726 i":
  350. double: 1
  351. idouble: 1
  352. ildouble: 439
  353. ldouble: 439
  354. Test "Imaginary part of: ctan (-2 - 3 i) == 0.376402564150424829275122113032269084e-2 - 1.00323862735360980144635859782192726 i":
  355. float: 1
  356. ifloat: 1
  357. ildouble: 2
  358. ldouble: 2
  359. Test "Real part of: ctan (0.75 + 1.25 i) == 0.160807785916206426725166058173438663 + 0.975363285031235646193581759755216379 i":
  360. ildouble: 1
  361. ldouble: 1
  362. Test "Imaginary part of: ctan (0.75 + 1.25 i) == 0.160807785916206426725166058173438663 + 0.975363285031235646193581759755216379 i":
  363. double: 1
  364. float: 1
  365. idouble: 1
  366. ifloat: 1
  367. ildouble: 3
  368. ldouble: 3
  369. # ctanh
  370. Test "Real part of: ctanh (-2 - 3 i) == -0.965385879022133124278480269394560686 + 0.988437503832249372031403430350121098e-2 i":
  371. ildouble: 5
  372. ldouble: 5
  373. Test "Imaginary part of: ctanh (-2 - 3 i) == -0.965385879022133124278480269394560686 + 0.988437503832249372031403430350121098e-2 i":
  374. float: 1
  375. ifloat: 1
  376. ildouble: 25
  377. ldouble: 25
  378. Test "Imaginary part of: ctanh (0 + pi/4 i) == 0.0 + 1.0 i":
  379. float: 1
  380. ifloat: 1
  381. Test "Real part of: ctanh (0.75 + 1.25 i) == 1.37260757053378320258048606571226857 + 0.385795952609750664177596760720790220 i":
  382. double: 1
  383. float: 1
  384. idouble: 1
  385. ifloat: 1
  386. Test "Imaginary part of: ctanh (0.75 + 1.25 i) == 1.37260757053378320258048606571226857 + 0.385795952609750664177596760720790220 i":
  387. double: 1
  388. float: 1
  389. idouble: 1
  390. ifloat: 1
  391. ildouble: 1
  392. ldouble: 1
  393. # erf
  394. Test "erf (1.25) == 0.922900128256458230136523481197281140":
  395. double: 1
  396. idouble: 1
  397. # erfc
  398. Test "erfc (0.75) == 0.288844366346484868401062165408589223":
  399. float: 1
  400. ifloat: 1
  401. Test "erfc (1.25) == 0.0770998717435417698634765188027188596":
  402. ildouble: 1
  403. ldouble: 1
  404. Test "erfc (2.0) == 0.00467773498104726583793074363274707139":
  405. double: 1
  406. idouble: 1
  407. Test "erfc (4.125) == 0.542340079956506600531223408575531062e-8":
  408. double: 1
  409. idouble: 1
  410. ildouble: 1
  411. ldouble: 1
  412. # exp
  413. Test "exp (0.75) == 2.11700001661267466854536981983709561":
  414. ildouble: 1
  415. Test "exp (1000.0) == 0.197007111401704699388887935224332313e435":
  416. ildouble: 754
  417. Test "exp (50.0) == 5184705528587072464087.45332293348538":
  418. ildouble: 16
  419. # exp10
  420. Test "exp10 (-1) == 0.1":
  421. ildouble: 1
  422. ldouble: 1
  423. Test "exp10 (0.75) == 5.62341325190349080394951039776481231":
  424. ildouble: 2
  425. ldouble: 2
  426. Test "exp10 (3) == 1000":
  427. ildouble: 8
  428. ldouble: 8
  429. # expm1
  430. Test "expm1 (1) == M_El - 1.0":
  431. ildouble: 1
  432. # gamma
  433. Test "gamma (-0.5) == log(2*sqrt(pi))":
  434. double: 1
  435. idouble: 1
  436. ildouble: 1
  437. ldouble: 1
  438. # hypot
  439. Test "hypot (-0.7, -12.4) == 12.419742348374220601176836866763271":
  440. float: 1
  441. ifloat: 1
  442. Test "hypot (-0.7, 12.4) == 12.419742348374220601176836866763271":
  443. float: 1
  444. ifloat: 1
  445. Test "hypot (-12.4, -0.7) == 12.419742348374220601176836866763271":
  446. float: 1
  447. ifloat: 1
  448. Test "hypot (-12.4, 0.7) == 12.419742348374220601176836866763271":
  449. float: 1
  450. ifloat: 1
  451. Test "hypot (0.7, -12.4) == 12.419742348374220601176836866763271":
  452. float: 1
  453. ifloat: 1
  454. Test "hypot (0.7, 12.4) == 12.419742348374220601176836866763271":
  455. float: 1
  456. ifloat: 1
  457. Test "hypot (12.4, -0.7) == 12.419742348374220601176836866763271":
  458. float: 1
  459. ifloat: 1
  460. Test "hypot (12.4, 0.7) == 12.419742348374220601176836866763271":
  461. float: 1
  462. ifloat: 1
  463. # j0
  464. Test "j0 (-4.0) == -3.9714980986384737228659076845169804197562E-1":
  465. double: 1
  466. float: 2
  467. idouble: 1
  468. ifloat: 2
  469. ildouble: 1
  470. ldouble: 1
  471. Test "j0 (10.0) == -0.245935764451348335197760862485328754":
  472. double: 3
  473. float: 1
  474. idouble: 3
  475. ifloat: 1
  476. Test "j0 (2.0) == 0.223890779141235668051827454649948626":
  477. double: 1
  478. float: 1
  479. idouble: 1
  480. ifloat: 1
  481. Test "j0 (4.0) == -3.9714980986384737228659076845169804197562E-1":
  482. double: 1
  483. float: 2
  484. idouble: 1
  485. ifloat: 2
  486. ildouble: 1
  487. ldouble: 1
  488. Test "j0 (8.0) == 0.171650807137553906090869407851972001":
  489. float: 1
  490. ifloat: 1
  491. # j1
  492. Test "j1 (0.75) == 0.349243602174862192523281016426251335":
  493. double: 1
  494. idouble: 1
  495. Test "j1 (10.0) == 0.0434727461688614366697487680258592883":
  496. double: 1
  497. float: 1
  498. idouble: 1
  499. ifloat: 1
  500. ildouble: 1
  501. ldouble: 1
  502. Test "j1 (2.0) == 0.576724807756873387202448242269137087":
  503. double: 1
  504. idouble: 1
  505. Test "j1 (8.0) == 0.234636346853914624381276651590454612":
  506. double: 1
  507. float: 1
  508. idouble: 1
  509. ifloat: 1
  510. ildouble: 1
  511. ldouble: 1
  512. # jn
  513. Test "jn (0, -4.0) == -3.9714980986384737228659076845169804197562E-1":
  514. double: 1
  515. float: 2
  516. idouble: 1
  517. ifloat: 2
  518. ildouble: 1
  519. ldouble: 1
  520. Test "jn (0, 10.0) == -0.245935764451348335197760862485328754":
  521. double: 3
  522. float: 1
  523. idouble: 3
  524. ifloat: 1
  525. Test "jn (0, 2.0) == 0.223890779141235668051827454649948626":
  526. double: 1
  527. float: 1
  528. idouble: 1
  529. ifloat: 1
  530. Test "jn (0, 4.0) == -3.9714980986384737228659076845169804197562E-1":
  531. double: 1
  532. float: 2
  533. idouble: 1
  534. ifloat: 2
  535. ildouble: 1
  536. ldouble: 1
  537. Test "jn (0, 8.0) == 0.171650807137553906090869407851972001":
  538. float: 1
  539. ifloat: 1
  540. Test "jn (1, 0.75) == 0.349243602174862192523281016426251335":
  541. double: 1
  542. idouble: 1
  543. Test "jn (1, 10.0) == 0.0434727461688614366697487680258592883":
  544. double: 1
  545. float: 1
  546. idouble: 1
  547. ifloat: 1
  548. ildouble: 1
  549. ldouble: 1
  550. Test "jn (1, 2.0) == 0.576724807756873387202448242269137087":
  551. double: 1
  552. idouble: 1
  553. Test "jn (1, 8.0) == 0.234636346853914624381276651590454612":
  554. double: 1
  555. float: 1
  556. idouble: 1
  557. ifloat: 1
  558. ildouble: 1
  559. ldouble: 1
  560. Test "jn (10, -1.0) == 0.263061512368745320699785368779050294e-9":
  561. double: 1
  562. float: 1
  563. idouble: 1
  564. ifloat: 1
  565. ildouble: 1
  566. ldouble: 1
  567. Test "jn (10, 0.125) == 0.250543369809369890173993791865771547e-18":
  568. double: 1
  569. float: 1
  570. idouble: 1
  571. ifloat: 1
  572. Test "jn (10, 0.75) == 0.149621713117596814698712483621682835e-10":
  573. float: 1
  574. ifloat: 1
  575. ildouble: 2
  576. ldouble: 2
  577. Test "jn (10, 1.0) == 0.263061512368745320699785368779050294e-9":
  578. double: 1
  579. float: 1
  580. idouble: 1
  581. ifloat: 1
  582. ildouble: 1
  583. ldouble: 1
  584. Test "jn (10, 10.0) == 0.207486106633358857697278723518753428":
  585. double: 5
  586. float: 2
  587. idouble: 5
  588. ifloat: 2
  589. ildouble: 2
  590. ldouble: 2
  591. Test "jn (10, 2.0) == 0.251538628271673670963516093751820639e-6":
  592. double: 2
  593. idouble: 2
  594. ildouble: 1
  595. ldouble: 1
  596. Test "jn (3, -1.0) == -0.0195633539826684059189053216217515083":
  597. ildouble: 1
  598. ldouble: 1
  599. Test "jn (3, 0.75) == 0.848438342327410884392755236884386804e-2":
  600. double: 1
  601. float: 1
  602. idouble: 1
  603. ifloat: 1
  604. Test "jn (3, 1.0) == 0.0195633539826684059189053216217515083":
  605. ildouble: 1
  606. ldouble: 1
  607. Test "jn (3, 10.0) == 0.0583793793051868123429354784103409563":
  608. double: 5
  609. float: 2
  610. idouble: 5
  611. ifloat: 2
  612. ildouble: 1
  613. ldouble: 1
  614. Test "jn (3, 2.0) == 0.128943249474402051098793332969239835":
  615. double: 1
  616. idouble: 1
  617. ildouble: 1
  618. ldouble: 1
  619. # lgamma
  620. Test "lgamma (-0.5) == log(2*sqrt(pi))":
  621. double: 1
  622. idouble: 1
  623. ildouble: 1
  624. ldouble: 1
  625. Test "lgamma (0.7) == 0.260867246531666514385732417016759578":
  626. double: 1
  627. float: 1
  628. idouble: 1
  629. ifloat: 1
  630. Test "lgamma (1.2) == -0.853740900033158497197028392998854470e-1":
  631. double: 1
  632. float: 2
  633. idouble: 1
  634. ifloat: 2
  635. ildouble: 1
  636. ldouble: 1
  637. # log
  638. Test "log (e) == 1":
  639. float: 1
  640. ifloat: 1
  641. # log10
  642. Test "log10 (0.75) == -0.124938736608299953132449886193870744":
  643. ildouble: 1
  644. ldouble: 1
  645. Test "log10 (e) == log10(e)":
  646. float: 1
  647. ifloat: 1
  648. ildouble: 1
  649. ldouble: 1
  650. # sincos
  651. Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.5 in cos_res":
  652. double: 1
  653. float: 1
  654. idouble: 1
  655. ifloat: 1
  656. Test "sincos (M_PI_6l*2.0, &sin_res, &cos_res) puts 0.86602540378443864676372317075293616 in sin_res":
  657. double: 1
  658. float: 1
  659. idouble: 1
  660. ifloat: 1
  661. ildouble: 1
  662. ldouble: 1
  663. Test "sincos (pi/2, &sin_res, &cos_res) puts 0 in cos_res":
  664. double: 1
  665. float: 1
  666. idouble: 1
  667. ifloat: 1
  668. ildouble: 1
  669. ldouble: 1
  670. # sin
  671. Test "sin (0.80190127184058835) == 0.71867942238767868":
  672. double: 1
  673. idouble: 1
  674. # sinh
  675. Test "sinh (0.75) == 0.822316731935829980703661634446913849":
  676. double: 1
  677. ildouble: 1
  678. # tan
  679. Test "tan (pi/4) == 1":
  680. double: 1
  681. idouble: 1
  682. # tgamma
  683. Test "tgamma (-0.5) == -2 sqrt (pi)":
  684. double: 2
  685. float: 1
  686. idouble: 2
  687. ifloat: 1
  688. ildouble: 1
  689. ldouble: 1
  690. Test "tgamma (0.5) == sqrt (pi)":
  691. float: 1
  692. ifloat: 1
  693. Test "tgamma (0.7) == 1.29805533264755778568117117915281162":
  694. double: 1
  695. float: 1
  696. idouble: 1
  697. ifloat: 1
  698. Test "tgamma (4) == 6":
  699. ildouble: 1
  700. ldouble: 1
  701. # y0
  702. Test "y0 (0.125) == -1.38968062514384052915582277745018693":
  703. ildouble: 1
  704. ldouble: 1
  705. Test "y0 (0.75) == -0.137172769385772397522814379396581855":
  706. double: 1
  707. float: 1
  708. idouble: 1
  709. ifloat: 1
  710. Test "y0 (1.0) == 0.0882569642156769579829267660235151628":
  711. double: 2
  712. float: 1
  713. idouble: 2
  714. ifloat: 1
  715. ildouble: 1
  716. ldouble: 1
  717. Test "y0 (1.5) == 0.382448923797758843955068554978089862":
  718. double: 1
  719. float: 1
  720. idouble: 1
  721. ifloat: 1
  722. Test "y0 (10.0) == 0.0556711672835993914244598774101900481":
  723. double: 1
  724. float: 1
  725. idouble: 1
  726. ifloat: 1
  727. ildouble: 1
  728. ldouble: 1
  729. Test "y0 (8.0) == 0.223521489387566220527323400498620359":
  730. double: 1
  731. float: 1
  732. idouble: 1
  733. ifloat: 1
  734. ildouble: 1
  735. ldouble: 1
  736. # y1
  737. Test "y1 (0.125) == -5.19993611253477499595928744876579921":
  738. ildouble: 1
  739. ldouble: 1
  740. Test "y1 (1.0) == -0.781212821300288716547150000047964821":
  741. double: 1
  742. idouble: 1
  743. Test "y1 (10.0) == 0.249015424206953883923283474663222803":
  744. double: 2
  745. float: 2
  746. idouble: 2
  747. ifloat: 2
  748. Test "y1 (2.0) == -0.107032431540937546888370772277476637":
  749. double: 1
  750. float: 2
  751. idouble: 1
  752. ifloat: 2
  753. ildouble: 1
  754. ldouble: 1
  755. Test "y1 (8.0) == -0.158060461731247494255555266187483550":
  756. double: 1
  757. float: 2
  758. idouble: 1
  759. ifloat: 2
  760. ildouble: 1
  761. ldouble: 1
  762. # yn
  763. Test "yn (0, 0.125) == -1.38968062514384052915582277745018693":
  764. ildouble: 1
  765. ldouble: 1
  766. Test "yn (0, 0.75) == -0.137172769385772397522814379396581855":
  767. double: 1
  768. float: 1
  769. idouble: 1
  770. ifloat: 1
  771. Test "yn (0, 1.0) == 0.0882569642156769579829267660235151628":
  772. double: 2
  773. float: 1
  774. idouble: 2
  775. ifloat: 1
  776. ildouble: 1
  777. ldouble: 1
  778. Test "yn (0, 1.5) == 0.382448923797758843955068554978089862":
  779. double: 1
  780. float: 1
  781. idouble: 1
  782. ifloat: 1
  783. Test "yn (0, 10.0) == 0.0556711672835993914244598774101900481":
  784. double: 1
  785. float: 1
  786. idouble: 1
  787. ifloat: 1
  788. ildouble: 1
  789. ldouble: 1
  790. Test "yn (0, 8.0) == 0.223521489387566220527323400498620359":
  791. double: 1
  792. float: 1
  793. idouble: 1
  794. ifloat: 1
  795. ildouble: 1
  796. ldouble: 1
  797. Test "yn (1, 0.125) == -5.19993611253477499595928744876579921":
  798. ildouble: 1
  799. ldouble: 1
  800. Test "yn (1, 1.0) == -0.781212821300288716547150000047964821":
  801. double: 1
  802. idouble: 1
  803. Test "yn (1, 10.0) == 0.249015424206953883923283474663222803":
  804. double: 2
  805. float: 2
  806. idouble: 2
  807. ifloat: 2
  808. Test "yn (1, 2.0) == -0.107032431540937546888370772277476637":
  809. double: 1
  810. float: 2
  811. idouble: 1
  812. ifloat: 2
  813. ildouble: 1
  814. ldouble: 1
  815. Test "yn (1, 8.0) == -0.158060461731247494255555266187483550":
  816. double: 1
  817. float: 2
  818. idouble: 1
  819. ifloat: 2
  820. ildouble: 1
  821. ldouble: 1
  822. Test "yn (10, 0.125) == -127057845771019398.252538486899753195":
  823. double: 1
  824. float: 1
  825. idouble: 1
  826. ifloat: 1
  827. ildouble: 2
  828. ldouble: 2
  829. Test "yn (10, 0.75) == -2133501638.90573424452445412893839236":
  830. float: 1
  831. ifloat: 1
  832. ildouble: 4
  833. ldouble: 4
  834. Test "yn (10, 1.0) == -121618014.278689189288130426667971145":
  835. double: 1
  836. float: 2
  837. idouble: 1
  838. ifloat: 2
  839. Test "yn (10, 10.0) == -0.359814152183402722051986577343560609":
  840. double: 1
  841. float: 3
  842. idouble: 1
  843. ifloat: 3
  844. Test "yn (10, 2.0) == -129184.542208039282635913145923304214":
  845. double: 2
  846. float: 3
  847. idouble: 2
  848. ifloat: 3
  849. Test "yn (3, 0.125) == -2612.69757350066712600220955744091741":
  850. ildouble: 1
  851. ldouble: 1
  852. Test "yn (3, 0.75) == -12.9877176234475433186319774484809207":
  853. double: 1
  854. float: 1
  855. idouble: 1
  856. ifloat: 1
  857. ildouble: 2
  858. ldouble: 2
  859. Test "yn (3, 10.0) == -0.251362657183837329779204747654240998":
  860. double: 1
  861. float: 1
  862. idouble: 1
  863. ifloat: 1
  864. Test "yn (3, 2.0) == -1.12778377684042778608158395773179238":
  865. double: 1
  866. float: 1
  867. idouble: 1
  868. ifloat: 1
  869. # Maximal error of functions:
  870. Function: "acos":
  871. ildouble: 622
  872. ldouble: 622
  873. Function: "asin":
  874. ildouble: 1
  875. ldouble: 1
  876. Function: "atanh":
  877. ildouble: 2
  878. ldouble: 1
  879. Function: Imaginary part of "cacos":
  880. float: 1
  881. ifloat: 1
  882. ildouble: 2
  883. ldouble: 2
  884. Function: Real part of "cacosh":
  885. double: 1
  886. float: 9
  887. idouble: 1
  888. ifloat: 9
  889. ildouble: 6
  890. ldouble: 6
  891. Function: Imaginary part of "cacosh":
  892. double: 1
  893. float: 4
  894. idouble: 1
  895. ifloat: 4
  896. ildouble: 1
  897. ldouble: 1
  898. Function: Real part of "casin":
  899. double: 1
  900. float: 1
  901. idouble: 1
  902. ifloat: 1
  903. ildouble: 2
  904. ldouble: 2
  905. Function: Imaginary part of "casin":
  906. float: 1
  907. ifloat: 1
  908. ildouble: 2
  909. ldouble: 2
  910. Function: Real part of "casinh":
  911. double: 5
  912. float: 1
  913. idouble: 5
  914. ifloat: 1
  915. ildouble: 5
  916. ldouble: 5
  917. Function: Imaginary part of "casinh":
  918. double: 3
  919. float: 6
  920. idouble: 3
  921. ifloat: 6
  922. ildouble: 5
  923. ldouble: 5
  924. Function: Imaginary part of "catan":
  925. double: 1
  926. float: 1
  927. idouble: 1
  928. ifloat: 1
  929. Function: Real part of "catanh":
  930. double: 2
  931. float: 1
  932. idouble: 2
  933. ifloat: 1
  934. ildouble: 1
  935. ldouble: 1
  936. Function: "cbrt":
  937. ildouble: 1
  938. ldouble: 1
  939. Function: Real part of "ccos":
  940. double: 1
  941. idouble: 1
  942. ildouble: 1
  943. ldouble: 1
  944. Function: Imaginary part of "ccos":
  945. float: 1
  946. ifloat: 1
  947. ildouble: 1
  948. ldouble: 1
  949. Function: Real part of "ccosh":
  950. double: 1
  951. float: 1
  952. idouble: 1
  953. ifloat: 1
  954. Function: Imaginary part of "ccosh":
  955. double: 1
  956. float: 1
  957. idouble: 1
  958. ifloat: 1
  959. ildouble: 1
  960. ldouble: 1
  961. Function: Real part of "cexp":
  962. ildouble: 1
  963. ldouble: 1
  964. Function: Imaginary part of "cexp":
  965. ildouble: 1
  966. ldouble: 1
  967. Function: Real part of "clog":
  968. float: 1
  969. ifloat: 1
  970. ildouble: 1
  971. ldouble: 1
  972. Function: Real part of "clog10":
  973. double: 1
  974. float: 1
  975. idouble: 1
  976. ifloat: 1
  977. ildouble: 1
  978. ldouble: 1
  979. Function: Imaginary part of "clog10":
  980. double: 1
  981. float: 1
  982. idouble: 1
  983. ifloat: 1
  984. ildouble: 1
  985. ldouble: 1
  986. Function: "cos":
  987. double: 2
  988. float: 1
  989. idouble: 2
  990. ifloat: 1
  991. ildouble: 1
  992. ldouble: 1
  993. Function: "cosh":
  994. ildouble: 1
  995. Function: Real part of "cpow":
  996. double: 1
  997. float: 4
  998. idouble: 1
  999. ifloat: 4
  1000. ildouble: 763
  1001. ldouble: 763
  1002. Function: Imaginary part of "cpow":
  1003. double: 2
  1004. float: 3
  1005. idouble: 2
  1006. ifloat: 3
  1007. ildouble: 2
  1008. ldouble: 2
  1009. Function: Real part of "csin":
  1010. float: 1
  1011. ifloat: 1
  1012. ildouble: 1
  1013. ldouble: 1
  1014. Function: Imaginary part of "csin":
  1015. float: 1
  1016. ifloat: 1
  1017. Function: Real part of "csinh":
  1018. double: 1
  1019. float: 1
  1020. idouble: 1
  1021. ifloat: 1
  1022. ildouble: 1
  1023. ldouble: 1
  1024. Function: Imaginary part of "csinh":
  1025. double: 1
  1026. float: 1
  1027. idouble: 1
  1028. ifloat: 1
  1029. ildouble: 2
  1030. ldouble: 2
  1031. Function: Real part of "ctan":
  1032. double: 1
  1033. idouble: 1
  1034. ildouble: 439
  1035. ldouble: 439
  1036. Function: Imaginary part of "ctan":
  1037. double: 1
  1038. float: 1
  1039. idouble: 1
  1040. ifloat: 1
  1041. ildouble: 3
  1042. ldouble: 3
  1043. Function: Real part of "ctanh":
  1044. double: 1
  1045. float: 1
  1046. idouble: 1
  1047. ifloat: 1
  1048. ildouble: 5
  1049. ldouble: 5
  1050. Function: Imaginary part of "ctanh":
  1051. double: 1
  1052. float: 1
  1053. idouble: 1
  1054. ifloat: 1
  1055. ildouble: 25
  1056. ldouble: 25
  1057. Function: "erf":
  1058. double: 1
  1059. idouble: 1
  1060. Function: "erfc":
  1061. double: 1
  1062. float: 1
  1063. idouble: 1
  1064. ifloat: 1
  1065. ildouble: 1
  1066. ldouble: 1
  1067. Function: "exp":
  1068. ildouble: 754
  1069. Function: "exp10":
  1070. ildouble: 8
  1071. ldouble: 8
  1072. Function: "expm1":
  1073. ildouble: 1
  1074. Function: "gamma":
  1075. double: 1
  1076. idouble: 1
  1077. ildouble: 1
  1078. ldouble: 1
  1079. Function: "hypot":
  1080. float: 1
  1081. ifloat: 1
  1082. Function: "j0":
  1083. double: 3
  1084. float: 2
  1085. idouble: 3
  1086. ifloat: 2
  1087. ildouble: 1
  1088. ldouble: 1
  1089. Function: "j1":
  1090. double: 1
  1091. float: 1
  1092. idouble: 1
  1093. ifloat: 1
  1094. ildouble: 1
  1095. ldouble: 1
  1096. Function: "jn":
  1097. double: 5
  1098. float: 2
  1099. idouble: 5
  1100. ifloat: 2
  1101. ildouble: 2
  1102. ldouble: 2
  1103. Function: "lgamma":
  1104. double: 1
  1105. float: 2
  1106. idouble: 1
  1107. ifloat: 2
  1108. ildouble: 1
  1109. ldouble: 1
  1110. Function: "log":
  1111. float: 1
  1112. ifloat: 1
  1113. Function: "log10":
  1114. float: 1
  1115. ifloat: 1
  1116. ildouble: 1
  1117. ldouble: 1
  1118. Function: "sincos":
  1119. double: 1
  1120. float: 1
  1121. idouble: 1
  1122. ifloat: 1
  1123. ildouble: 1
  1124. ldouble: 1
  1125. Function: "sin":
  1126. double: 1
  1127. idouble: 1
  1128. Function: "sinh":
  1129. double: 1
  1130. ildouble: 1
  1131. Function: "tan":
  1132. double: 1
  1133. idouble: 1
  1134. Function: "tgamma":
  1135. double: 2
  1136. float: 1
  1137. idouble: 2
  1138. ifloat: 1
  1139. ildouble: 1
  1140. ldouble: 1
  1141. Function: "y0":
  1142. double: 2
  1143. float: 1
  1144. idouble: 2
  1145. ifloat: 1
  1146. ildouble: 1
  1147. ldouble: 1
  1148. Function: "y1":
  1149. double: 2
  1150. float: 2
  1151. idouble: 2
  1152. ifloat: 2
  1153. ildouble: 1
  1154. ldouble: 1
  1155. Function: "yn":
  1156. double: 2
  1157. float: 3
  1158. idouble: 2
  1159. ifloat: 3
  1160. ildouble: 4
  1161. ldouble: 4
  1162. # end of automatic generation