[PATCH] [testsuite] tolerate missing std::stold

Alexandre Oliva oliva@adacore.com
Wed May 21 10:50:04 GMT 2025


On May 20, 2025, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:

> On Tue, 20 May 2025, 05:00 Alexandre Oliva, <oliva@adacore.com> wrote:
> OK

Thanks

> Maybe we should just define it in terms of std::stod, so it always exists
> but might not support the full accuracy of long double.

That sounds desirable to me, FWIW, but from past experience, tests would
likely need tweaking to cope with that loss of accuracy well.

>> testsuite/27_io/basic_ostream/inserters_arthmetic/char/hexfloat.cc:

Typo fixed: s/arthmetic/arithmetic/
(thanks to the ChangeLog checker :-)

-- 
Alexandre Oliva, happy hacker            https://blog.lx.oliva.nom.br/
Free Software Activist     FSFLA co-founder     GNU Toolchain Engineer
More tolerance and less prejudice are key for inclusion and diversity.
Excluding neuro-others for not behaving ""normal"" is *not* inclusive!


More information about the Libstdc++ mailing list