| 229 | // round to nearest integer (assuming even) |
| 230 | #if NPY_SIMD_F32 |
| 231 | NPY_FINLINE npyv_s32 npyv_round_s32_f32(npyv_f32 a) |
| 232 | { return npyv__trunc_s32_f32(vec_rint(a)); } |
| 233 | #endif |
| 234 | NPY_FINLINE npyv_s32 npyv_round_s32_f64(npyv_f64 a, npyv_f64 b) |
| 235 | { return npyv__trunc_s32_f64(vec_rint(a), vec_rint(b)); } |
nothing calls this directly
no test coverage detected