(x: ArgIntoFloat, vm: &VirtualMachine)
| 77 | // Power and logarithmic functions: |
| 78 | #[pyfunction] |
| 79 | fn exp(x: ArgIntoFloat, vm: &VirtualMachine) -> PyResult<f64> { |
| 80 | pymath::math::exp(x.into_float()).map_err(|err| pymath_exception(err, vm)) |
| 81 | } |
| 82 | |
| 83 | #[pyfunction] |
| 84 | fn exp2(x: ArgIntoFloat, vm: &VirtualMachine) -> PyResult<f64> { |