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

Method FromReal

cpp/src/arrow/util/decimal.cc:501–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

499}
500
501Result<Decimal32> Decimal32::FromReal(float x, int32_t precision, int32_t scale) {
502 return Decimal32RealConversion::FromReal(x, precision, scale);
503}
504
505Result<Decimal32> Decimal32::FromReal(double x, int32_t precision, int32_t scale) {
506 return Decimal32RealConversion::FromReal(x, precision, scale);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected