(x: ArgIntoFloat, y: ArgIntoFloat, vm: &VirtualMachine)
| 70 | |
| 71 | #[pyfunction] |
| 72 | fn copysign(x: ArgIntoFloat, y: ArgIntoFloat, vm: &VirtualMachine) -> PyResult<f64> { |
| 73 | pymath::math::copysign(x.into_float(), y.into_float()) |
| 74 | .map_err(|err| pymath_exception(err, vm)) |
| 75 | } |
| 76 | |
| 77 | // Power and logarithmic functions: |
| 78 | #[pyfunction] |