MCPcopy Create free account
hub / github.com/apache/arrow / Abs

Function Abs

cpp/src/arrow/util/basic_decimal.h:285–288  ·  view source on GitHub ↗

\brief Absolute value

Source from the content-addressed store, hash-verified

283
284 /// \brief Absolute value
285 static BasicDecimal32 Abs(const BasicDecimal32& in) {
286 BasicDecimal32 result(in);
287 return result.Abs();
288 }
289
290 /// \brief Add a number to this one. The result is truncated to 32 bits.
291 BasicDecimal32& operator+=(const BasicDecimal32& right) {

Callers

nothing calls this directly

Calls 1

AbsMethod · 0.80

Tested by

no test coverage detected