| 1439 | } |
| 1440 | |
| 1441 | static void |
| 1442 | nc_sinh( npy_intp n, npy_complex64 *x, npy_intp sb1, npy_complex64 *r) |
| 1443 | { |
| 1444 | if( sb1 == sizeof(npy_complex64) ) { // Aligned |
| 1445 | for( npy_intp I = 0; I < n; I++ ) { |
| 1446 | r[I].real = cosf(x[I].imag)*sinhf(x[I].real); |
| 1447 | r[I].imag = sinf(x[I].imag)*coshf(x[I].real); |
| 1448 | } |
| 1449 | } |
| 1450 | else { |
| 1451 | sb1 /= sizeof(npy_complex64); |
| 1452 | for( npy_intp I = 0; I < n; I++ ) { |
| 1453 | r[I].real = cosf(x[I].imag)*sinhf(x[I].real); |
| 1454 | r[I].imag = sinf(x[I].imag)*coshf(x[I].real); |
| 1455 | } |
| 1456 | } |
| 1457 | } |
| 1458 | |
| 1459 | static void |
| 1460 | nc_sinh( npy_intp n, npy_complex128 *x, npy_intp sb1, npy_complex128 *r) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…