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

Function Dec128

cpp/src/arrow/csv/converter_test.cc:725–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

723}
724
725Decimal128 Dec128(std::string_view value) {
726 Decimal128 dec;
727 int32_t scale = 0;
728 int32_t precision = 0;
729 DCHECK_OK(Decimal128::FromString(value, &dec, &precision, &scale));
730 return dec;
731}
732
733TEST(DecimalConversion, Basics) {
734 AssertConversion<Decimal128Type, Decimal128>(

Callers 1

TESTFunction · 0.85

Calls 1

FromStringFunction · 0.85

Tested by

no test coverage detected