MCPcopy Create free account
hub / github.com/Rust-API/Rust-API-Bypass-Checker / is_zero

Method is_zero

src/analysis/numerical/interval.rs:300–302  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

298 }
299
300 fn is_zero(&self) -> bool {
301 self.low == Bound::Int(Integer::from(0)) && self.high == Bound::Int(Integer::from(0))
302 }
303
304 fn all_ones(&self) -> bool {
305 self.low == Bound::Int(Integer::from(-1)) && self.high == Bound::Int(Integer::from(-1))

Callers 3

bitandMethod · 0.45
bitorMethod · 0.45
bitxorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected