Needed for allowing the internal casting in numexpr machinery for conjugate operations RAM: What this comment means is if the user calls conj(x) on a npy_float32 or npy_float64 do a null-op so the interpreter doesn't break.
| 329 | // RAM: What this comment means is if the user calls conj(x) on a npy_float32 or |
| 330 | // npy_float64 do a null-op so the interpreter doesn't break. |
| 331 | static void |
| 332 | fconj( npy_intp n, npy_float32 *x, npy_intp sb1, npy_float32 *r ) |
| 333 | { |
| 334 | if( sb1 == sizeof(npy_float32) ) { // Aligned |
| 335 | for( npy_intp I = 0; I < n; I++ ) { |
| 336 | r[I] = x[I]; |
| 337 | } |
| 338 | } |
| 339 | else { |
| 340 | sb1 /= sizeof(npy_float32); |
| 341 | for( npy_intp I = 0; I < n; I++ ) { |
| 342 | r[I] = x[I*sb1]; |
| 343 | } |
| 344 | } |
| 345 | } |
| 346 | |
| 347 | static void |
| 348 | fconj( npy_intp n, npy_float64 *x, npy_intp sb1, npy_float64 *r ) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…