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

Mark Mitchell mark@codesourcery.com
Fri Mar 18 03:54:00 GMT 2005


Paolo Carlini wrote:
> Gabriel Dos Reis wrote:
> 
>> I strongly believe -2- is the wrong thing to do.
>>  
>>
> Fine! Therefore I'm going to implement -1-, just minor tweaks.

FWIW, my preference would be to match cpow, in the absence of clear 
guidance from the ISO C++ committee.  I think consistency between the C 
and C++ runtimes is desirable, unless explicitly disallowed.

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304



More information about the Libstdc++ mailing list