| 173 | } |
| 174 | |
| 175 | std::string FormatFloat16Value(::std::string_view val) { |
| 176 | std::stringstream result; |
| 177 | auto float16 = ::arrow::util::Float16::FromLittleEndian( |
| 178 | reinterpret_cast<const uint8_t*>(val.data())); |
| 179 | result << float16.ToFloat(); |
| 180 | return result.str(); |
| 181 | } |
| 182 | |
| 183 | } // namespace |
| 184 |
no test coverage detected