MCPcopy Create free account
hub / github.com/RustPython/RustPython / erfc

Function erfc

crates/stdlib/src/math.rs:325–327  ·  view source on GitHub ↗
(x: ArgIntoFloat, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

323
324 #[pyfunction]
325 fn erfc(x: ArgIntoFloat, vm: &VirtualMachine) -> PyResult<f64> {
326 pymath::math::erfc(x.into_float()).map_err(|err| pymath_exception(err, vm))
327 }
328
329 #[pyfunction]
330 fn gamma(x: ArgIntoFloat, vm: &VirtualMachine) -> PyResult<f64> {

Callers 3

normal_kernelFunction · 0.90
cdfMethod · 0.90
overlapMethod · 0.90

Calls 2

pymath_exceptionFunction · 0.85
into_floatMethod · 0.80

Tested by

no test coverage detected