tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: redundant namespacing of standard c functions



On Wed, Feb 14, 2018 at 01:49:45PM +0000, coypu%sdf.org@localhost wrote:
> Hi,
> 
> we produce suboptimal code because e.g. isinf and isnan are namespace
> guarded, we define a __isnan instead, and use macros to rename.
> this disallows compilers from optimizing the function with a builtin,
> which saves at least the function call.

This is not about namespace guards, it is because isinf and friends are
type-generic.

Joerg


Home | Main Index | Thread Index | Old Index