This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [OT] __builtin_cpow((0,0),(0,0))


Chris Jefferson wrote:

What we are debating here isn't really maths at all, just the definition which will be most useful and least suprising (and perhaps also what various standards tell us to use).

Also, since we are definitely striving to consistently implement the current C99 and C++ Standards, it's *totally* pointless discussing 0^0 in the real domain: it *must* be one. Please, people, don't overflow the gcc development list with this kind of discussion. I feel guilty because of that, by the way: please, accept my apologies. My original question was *only* about consistency between the real case (pow) and the complex case (cpow, __builtin_cpow, std::complex::pow).


Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]