16 Jan
2024
16 Jan
'24
7:53 p.m.
Docs state "non-allocating", yet grepping for malloc in the source code yields a couple of results in the from_chars implementation for floats. Could you please explain the reason behind this? Also, from the docs for from_chars for floating points: "On std::errc::result_out_of_range we return ±0 for small values (e.g. 1.0e-99999) or ±HUGE_VAL for large values (e.g. 1.0e+99999) to match the handling of std::strtod" What's the rationale for deviating from the standard here? Ruben.