Re: redundant namespacing of standard c functions

2018-02-14 Thread coypu
OK, I see your point. it would take really long to find out you are using the wrong isnan. I guess I could provide an inline implementation using the builtin.

Re: redundant namespacing of standard c functions

2018-02-14 Thread coypu
most of libm is type-generic, though I guess isinf/isnan are the ones people actually use as such.

Re: redundant namespacing of standard c functions

2018-02-14 Thread Joerg Sonnenberger
On Wed, Feb 14, 2018 at 01:49:45PM +, co...@sdf.org 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

redundant namespacing of standard c functions

2018-02-14 Thread coypu
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. can we as a policy have symbols for all the stand