fn py_round(x: f64) -> i64
Python’s round() — half away from zero is not what it does; it is banker’s rounding, so 0.5 goes to 0 and 1.5 goes to 2.
round()