Commit d62c590
committed
ENH: Check for, and use all C99 complex functions if available
Previously, a number of functions operating on complex numbers from C99
were checked for during the configuration stage. If they existed, they
were used. This commit extends this to all of the C99 complex
functions.
All of our local implementations are now in npymath, instead of being
spread between npymath and umath/funcs.inc.src. Functions that numpy has
but C99 does not are still in funcs.inc.src.1 parent f442ead commit d62c590
4 files changed
Lines changed: 391 additions & 331 deletions
File tree
- numpy/core
- include/numpy
- src
- npymath
- umath
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
| 425 | + | |
| 426 | + | |
425 | 427 | | |
426 | 428 | | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
427 | 437 | | |
428 | 438 | | |
429 | 439 | | |
| |||
440 | 450 | | |
441 | 451 | | |
442 | 452 | | |
| 453 | + | |
| 454 | + | |
443 | 455 | | |
444 | 456 | | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
445 | 466 | | |
446 | 467 | | |
447 | 468 | | |
| |||
458 | 479 | | |
459 | 480 | | |
460 | 481 | | |
| 482 | + | |
| 483 | + | |
461 | 484 | | |
462 | 485 | | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
463 | 495 | | |
464 | 496 | | |
465 | 497 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
| |||
0 commit comments