(z: ArgIntoComplex, vm: &VirtualMachine)
| 59 | |
| 60 | #[pyfunction] |
| 61 | fn exp(z: ArgIntoComplex, vm: &VirtualMachine) -> PyResult<Complex64> { |
| 62 | pymath::cmath::exp(z.into_complex()).map_err(|err| pymath_exception(err, vm)) |
| 63 | } |
| 64 | |
| 65 | #[pyfunction] |
| 66 | fn sqrt(z: ArgIntoComplex, vm: &VirtualMachine) -> PyResult<Complex64> { |
nothing calls this directly
no test coverage detected