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

Method Pow2

cpp/src/arrow/util/decimal_test.cc:1169–1169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1167 using ParamType = ToRealTestParam<Real>;
1168
1169 Real Pow2(int exp) { return std::pow(static_cast<Real>(2), static_cast<Real>(exp)); }
1170
1171 Real Pow10(int exp) { return std::pow(static_cast<Real>(10), static_cast<Real>(exp)); }
1172

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected