[PATCH v2] libstdc++: simd: x86: accept 64-bit long double as double [PR124657]

Alexandre Oliva oliva@adacore.com
Wed Apr 29 19:59:38 GMT 2026


On Apr 29, 2026, Jonathan Wakely <jwakely@redhat.com> wrote:

> That's what my suggestion did, i.e. the 'else' was load-bearing.

Aah, I didn't realize that the 'else' made a difference indeed.
I'd never been formally introduced to if constexpr, I only had an
intuitive grasp, that has now proved insufficient :-/

> https://en.cppreference.com/cpp/language/if#Constexpr_if

Thanks for the pointer.  Evidently I've still got some catching-up to do
with current C++ :-)

-- 
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