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

Method less_than

src/analysis/numerical/interval.rs:234–244  ·  view source on GitHub ↗
(&self, other: &Interval)

Source from the content-addressed store, hash-verified

232 }
233
234 pub fn less_than(&self, other: &Interval) -> Option<bool> {
235 if self.is_bottom() || self.is_top() || other.is_bottom() || other.is_top() {
236 None
237 } else if self.high < other.low {
238 Some(true)
239 } else if other.high <= self.low {
240 Some(false)
241 } else {
242 None
243 }
244 }
245
246 pub fn less_equal(&self, other: &Interval) -> Option<bool> {
247 if self.is_bottom() || self.is_top() || other.is_bottom() || other.is_top() {

Callers

nothing calls this directly

Calls 2

is_bottomMethod · 0.45
is_topMethod · 0.45

Tested by

no test coverage detected