11706 vs ([lno] Canonical iv creation)

Paolo Carlini pcarlini@suse.de
Sat Mar 13 23:50:00 GMT 2004


Gabriel Dos Reis wrote:

>The point I'm trying to make is that built-ins that raise to integer
>exponent are something that have already been discussed with Roger (I
>think he implemented, but that ought to be double-checked) and that
>the is right place to deal with that.  Normally, we should have
>
>    double pow(double x, int n) { return __builtin_powi(x, n); }
>                                                      ^
>and so on. Note the use use of the built-ins that raises to integer pow.
>  
>
I see, the cleanest solution, but they are not yet available (just checked)

Therefore, is there something we can do for 3.4? Would you object to me
specializing __cmath_power for 3.4?

Paolo.





More information about the Libstdc++ mailing list