MCPcopy Index your code
hub / github.com/RustPython/RustPython / isfinite

Function isfinite

crates/stdlib/src/math.rs:34–36  ·  view source on GitHub ↗
(x: ArgIntoFloat)

Source from the content-addressed store, hash-verified

32
33 #[pyfunction]
34 fn isfinite(x: ArgIntoFloat) -> bool {
35 pymath::math::isfinite(x.into_float())
36 }
37
38 #[pyfunction]
39 fn isinf(x: ArgIntoFloat) -> bool {

Callers 1

_sqrtprodFunction · 0.90

Calls 1

into_floatMethod · 0.80

Tested by

no test coverage detected