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

Function isinf

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

Source from the content-addressed store, hash-verified

37
38 #[pyfunction]
39 fn isinf(x: ArgIntoFloat) -> bool {
40 pymath::math::isinf(x.into_float())
41 }
42
43 #[pyfunction]
44 fn isnan(x: ArgIntoFloat) -> bool {

Callers 2

_sqrtprodFunction · 0.90
test_inf_from_strMethod · 0.90

Calls 1

into_floatMethod · 0.80

Tested by 1

test_inf_from_strMethod · 0.72