libm-test-ulps-ia64 23 KB

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