(z: ArgIntoComplex, vm: &VirtualMachine)
| 79 | |
| 80 | #[pyfunction] |
| 81 | fn cos(z: ArgIntoComplex, vm: &VirtualMachine) -> PyResult<Complex64> { |
| 82 | pymath::cmath::cos(z.into_complex()).map_err(|err| pymath_exception(err, vm)) |
| 83 | } |
| 84 | |
| 85 | #[pyfunction] |
| 86 | fn acos(z: ArgIntoComplex, vm: &VirtualMachine) -> PyResult<Complex64> { |
nothing calls this directly
no test coverage detected