File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -307,13 +307,13 @@ bool check_file(std::string file_name) {
307
307
#ifdef __STDCPP_FLOAT16_T__
308
308
// Parse as 16-bit float
309
309
std::float16_t parsed_16{};
310
- // auto fast_float_r16 =
311
- fast_float::from_chars (number_string, end_of_string, parsed_16);
312
- // if (fast_float_r16.ec != std::errc() &&
313
- // fast_float_r16.ec != std::errc::result_out_of_range) {
314
- // std::cerr << "16-bit fast_float parsing failure for: " + str +
315
- // "\n"; return false;
316
- // }
310
+ auto fast_float_r16 =
311
+ fast_float::from_chars (number_string, end_of_string, parsed_16);
312
+ if (fast_float_r16.ec != std::errc () &&
313
+ fast_float_r16.ec != std::errc::result_out_of_range) {
314
+ std::cerr << " 16-bit fast_float parsing failure for: " + str + " \n " ;
315
+ return false ;
316
+ }
317
317
#endif
318
318
// Parse as 32-bit float
319
319
float parsed_32;
You can’t perform that action at this time.
0 commit comments