divide by zero
常见例句
- Code with a divide-by-zero error fails only if you divide by zero.
只有在被零除的时候,代码才会发生被零除的错误。 - From these values and line 7 we can deduce that the arithmetic exception is due to a divide by zero.
根据这些值和第 7 行中的语句,我们可以推断出算术异常是由除数为 0 的除法运算造成的。 - In fact, my program crashes because I end up trying to divide by zero, a really bad thing. Hint: if you implement Newton's method, do not make your first guess zero.
我下一步都没法开始,实际上,我的程序会崩溃,因为我试着去除0了,真糟糕,提示你:如果你想用牛顿的方法,第一个猜想数别设为0。 - In fact, my program crashes because I end up trying to divide by zero, a really bad thing. Hint: if you implement Newton's method, do not make your first guess zero.
我下一步都没法开始,实际上,我的程序会崩溃,因为我试着去除0了,真糟糕,提示你:如果你想用牛顿的方法,第一个猜想数别设为0。
麻省理工公开课 - 计算机科学及编程导论课程节选 返回 divide by zero