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

Function nonzero_compactlong_float_guard

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

Source from the content-addressed store, hash-verified

1214
1215#[inline]
1216fn nonzero_compactlong_float_guard(lhs: &PyObject, rhs: &PyObject, vm: &VirtualMachine) -> bool {
1217 compactlong_float_guard(lhs, rhs, vm) && exact_float_from_obj(rhs, vm).is_some_and(|f| f != 0.0)
1218}
1219
1220macro_rules! long_float_action {
1221 ($name:ident, $op:tt) => {

Callers

nothing calls this directly

Calls 2

compactlong_float_guardFunction · 0.85
exact_float_from_objFunction · 0.85

Tested by

no test coverage detected