TR1 Math Special Functions
Paolo Carlini
pcarlini@suse.de
Fri Feb 9 00:41:00 GMT 2007
Gabriel Dos Reis wrote:
>Can we require C99?
>
So far, we arranged things in a way that if C99 math functions are not
available most of the TR1 facilities work anyway, maybe with a lower QoI
(like in random). Some, like the classification macros, will be simply
unavailable both in namespace std:: and in namespace std::tr1.
> Or is there a __builtin_isnan to use?
>
>
Maybe that will just work! ;) I just tried and in mainline apparently we
are able to fully expand it without library calls. I would ask Ed to try
simply use the builtin and regtest on as many targets he can. It would
be nice if a compiler guy could confirm that such library calls are
never issued for __builtin_isnan irrespective of the target. I'm CC-ing
Ian... Apparently the documentation is a little weak about such builtins..
Paolo.
More information about the Libstdc++
mailing list