__builtin_cpow((0,0),(0,0))

Marcin Dalecki martin@dalecki.de
Mon Mar 7 23:19:00 GMT 2005


On 2005-03-07, at 17:16, Chris Jefferson wrote:
>
> | Mathematically speaking zero^zero is undefined, so it should be NaN.
> | This already clear for real numbers: consider x^0 where x decreases
> | to zero.  This is always 1, so you could deduce that 0^0 should be 1.
> | However, consider 0^x where x decreases to zero.  This is always 0, 
> so
> | you could deduce that 0^0 should be 0.  In fact the limit of x^y
> | where x and y decrease to 0 does not exist, even if you exclude the
> | degenerate cases where x=0 or y=0.  This is why there is no 
> reasonable
> | mathematical value for 0^0.
> |
>
> That is true.

It's not true because it's neither true nor false. It's a not well
formulated statement. (Mathematically).



More information about the Libstdc++ mailing list