(z: ArgIntoComplex, vm: &VirtualMachine)
| 64 | |
| 65 | #[pyfunction] |
| 66 | fn sqrt(z: ArgIntoComplex, vm: &VirtualMachine) -> PyResult<Complex64> { |
| 67 | pymath::cmath::sqrt(z.into_complex()).map_err(|err| pymath_exception(err, vm)) |
| 68 | } |
| 69 | |
| 70 | #[pyfunction] |
| 71 | fn sin(z: ArgIntoComplex, vm: &VirtualMachine) -> PyResult<Complex64> { |
nothing calls this directly
no test coverage detected