没有正数,没有负数,只是个零。
当计算到零时,没有条件来停止它,所以它会继续调用零和负数的阶乘。
There is nothing to stop it when it hits zero, so it would continue calling factorial on zero and the negative numbers.
没有显式的负数模式时,假设正数模式中包含前置的负号。
When there's no explicit negative pattern, a leading minus sign is assumed in combination with the positive pattern.
No positive number, no negative number. That's a zero.
没有正数,没有负数,只是个零。
应用推荐