Zero to the zero power: Difference between revisions

Content added Content deleted
Line 708: Line 708:
1</syntaxhighlight>
1</syntaxhighlight>


Note also that this is the multiplicative identity (which means that it's consistent with <code>1*0</code> representing <code>0^1</code> and with <code>1*0*0</code> representing <code>0^2</code> and <code>1*0*0*0</code> representing <code>0^3</code> and <code>1*2*2*2</code> representing <code>2^3</code> and so on. Also, this is the result of finding the product of an empty list:
Note also that this is the multiplicative identity (which means that it's consistent with <code>1*0</code> representing <code>0^1</code> and with <code>1*0*0</code> representing <code>0^2</code> and with <code>1*0*0*0</code> representing <code>0^3</code> and with <code>1*2*2*2</code> representing <code>2^3</code> and so on. Also, this is the result of finding the product of an empty list:


<syntaxhighlight lang="J"> */''
<syntaxhighlight lang="J"> */''