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