Re: [PATCH 4/6] libstdc++: Adjust fast_float's over/underflow behavior for conformnace

2022-01-17 Thread Patrick Palka via Gcc-patches
On Mon, Jan 17, 2022 at 5:49 AM Jonathan Wakely wrote: > > > > On Sun, 16 Jan 2022 at 18:12, Patrick Palka via Libstdc++ > wrote: >> >> This makes fast_float handle the situation where std::from_chars is >> specified to return result_out_of_range, i.e. when the parsed value >> is outside the

Re: [PATCH 4/6] libstdc++: Adjust fast_float's over/underflow behavior for conformnace

2022-01-17 Thread Jonathan Wakely via Gcc-patches
On Sun, 16 Jan 2022 at 18:12, Patrick Palka via Libstdc++ < libstd...@gcc.gnu.org> wrote: > This makes fast_float handle the situation where std::from_chars is > specified to return result_out_of_range, i.e. when the parsed value > is outside the representable range of the floating-point type. >

[PATCH 4/6] libstdc++: Adjust fast_float's over/underflow behavior for conformnace

2022-01-16 Thread Patrick Palka via Gcc-patches
This makes fast_float handle the situation where std::from_chars is specified to return result_out_of_range, i.e. when the parsed value is outside the representable range of the floating-point type. This adjusts fast_float's behavior in case of over/underflow: instead of returning errc{} and