(num)
| 36 | |
| 37 | |
| 38 | def roundint(num): |
| 39 | # std::round has different behavior than np.round so manually add 0.5 and truncate to int |
| 40 | return int(num + (0.5 if num >= 0 else -0.5)) |
| 41 | |
| 42 | |
| 43 | def abs_slice_start_and_end( |
no outgoing calls
no test coverage detected