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

Function nonzero_float_compactlong_guard

crates/vm/src/frame.rs:1190–1192  ·  view source on GitHub ↗
(lhs: &PyObject, rhs: &PyObject, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

1188
1189#[inline]
1190fn nonzero_float_compactlong_guard(lhs: &PyObject, rhs: &PyObject, vm: &VirtualMachine) -> bool {
1191 float_compactlong_guard(lhs, rhs, vm) && compact_int_from_obj(rhs, vm).is_some_and(|v| v != 0)
1192}
1193
1194macro_rules! float_long_action {
1195 ($name:ident, $op:tt) => {

Callers

nothing calls this directly

Calls 2

float_compactlong_guardFunction · 0.85
compact_int_from_objFunction · 0.85

Tested by

no test coverage detected