MCPcopy Create free account
hub / github.com/apache/arrow-rs / checked_div

Method checked_div

arrow-buffer/src/bigint/mod.rs:495–497  ·  view source on GitHub ↗
(self, other: Self)

Source from the content-addressed store, hash-verified

493 /// Performs checked division
494 #[inline]
495 pub fn checked_div(self, other: Self) -> Option<Self> {
496 self.div_rem(other).map(|(v, _)| v).ok()
497 }
498
499 /// Performs wrapping remainder
500 #[inline]

Callers 3

checked_ilogMethod · 0.45
checked_ilog10Method · 0.45
test_opsFunction · 0.45

Calls 1

div_remMethod · 0.80

Tested by 1

test_opsFunction · 0.36