On Wed, 13 Mar 2019, Jakub Jelinek wrote: > If the finite only doesn't buy anything, then another option is to drop the > math-finite.h stuff or portions thereof.
Well, finite-only entry points avoid wrappers for the scalar functions - it's just that suitable optimized implementations could avoid the wrappers in all cases without needing a separate finite-only variant. It's not clear that adding wrappers in this case for scalar functions to avoid them for vector functions is a good idea. And regardless of the merits of a particular set of entry points, I think requiring the same set of variants for both vector and scalar functions is flawed; the headers should be able to declare a scalar variant to be used under certain conditions without requiring a corresponding vector variant, or of course the other way round. -- Joseph S. Myers jos...@codesourcery.com