Skip to main content

py_array_int

Function py_array_int 

Source
fn py_array_int(x: f64) -> i16
Expand description

int(x) stored into an array('h'): truncates toward zero; a value outside the type would raise OverflowError in Python.