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

Method GetOptFloat

cpp/src/parquet/stream_reader_test.cc:118–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 }
117
118 static optional<float> GetOptFloat(const int i) {
119 if ((i + 1) % 3 == 0) {
120 return nullopt;
121 }
122 return 2.718281828459045f * i;
123 }
124
125 static optional<double> GetOptDouble(const int i) {
126 if ((i + 2) % 3 == 0) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected