pub fn sqrt_py(x: f64) -> Result<f64, PyException>
Python-compatible wrapper function (concrete types)