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

Function isnan

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

Source from the content-addressed store, hash-verified

42
43 #[pyfunction]
44 fn isnan(x: ArgIntoFloat) -> bool {
45 pymath::math::isnan(x.into_float())
46 }
47
48 #[derive(FromArgs)]
49 struct IsCloseArgs {

Callers 8

test_truedivMethod · 0.90
assert_equal_floatFunction · 0.90
test_float_powMethod · 0.90
test_nan_from_strMethod · 0.90
test_weird_floatsMethod · 0.90
test_listMethod · 0.90
test_dict_valuesMethod · 0.90

Calls 1

into_floatMethod · 0.80

Tested by 8

test_truedivMethod · 0.72
assert_equal_floatFunction · 0.72
test_float_powMethod · 0.72
test_nan_from_strMethod · 0.72
test_weird_floatsMethod · 0.72
test_listMethod · 0.72
test_dict_valuesMethod · 0.72