MCPcopy Create free account
hub / github.com/apache/arrow / operator%

Function operator%

cpp/src/arrow/util/basic_decimal.cc:328–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328BasicDecimal32 operator%(const BasicDecimal32& left, const BasicDecimal32& right) {
329 BasicDecimal32 remainder;
330 BasicDecimal32 result;
331 auto s = left.Divide(right, &result, &remainder);
332 DCHECK_EQ(s, DecimalStatus::kSuccess);
333 return remainder;
334}
335
336bool operator<(const BasicDecimal64& left, const BasicDecimal64& right) {
337 return left.value() < right.value();

Callers

nothing calls this directly

Calls 1

DivideMethod · 0.80

Tested by

no test coverage detected