This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: __builtin_cpow((0,0),(0,0))



On 2005-03-08, at 01:11, Robert Dewar wrote:


Marcin Dalecki wrote:

There is no reason here and you presented no reasoning. But still there is a
*convenient* extension of the definition domain for the power of function for the
zero exponent.

The trouble is that there are *two* possible convenient extensions.

Depending of course on the definition of convenience you apply ...


However, the one chosen by the C standard has indeed become pretty
prevalent (the Ada RM for instance specifies that 0**0 = 1 (applies
to complex case as well).

Yes of course sure...



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