[RFC] What to do for complex::pow(0, 0)

Paolo Carlini pcarlini@suse.de
Fri Mar 18 20:11:00 GMT 2005


Gabriel Dos Reis wrote:

>The "return consistently (0, 0) for zero^zero" part.
>  
>
Oh, yes. Of course we are not talking about the overloads for integer
exponent. The other overloads all return (0, 0) on non-c99 platforms
only, of course. By the way, this is just the old behavior, pre usage of
the builtins. The only additional recent tweak is the patch for 20352,
which gives a consistent behavior for the overload (complex, real),
as a nice side effect.

Paolo.



More information about the Libstdc++ mailing list