divide by zero
常見例句
- Code with a divide-by-zero error fails only if you divide by zero.
衹有在被零除的時候,代碼才會發(fā)生被零除的錯誤。 - From these values and line 7 we can deduce that the arithmetic exception is due to a divide by zero.
根據這些值和第 7 行中的語句,我們可以推斷出算術異常是由除數(shù)爲 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了,真糟糕,提示你:如果你想用牛頓的方法,第一個猜想數(shù)別設爲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了,真糟糕,提示你:如果你想用牛頓的方法,第一個猜想數(shù)別設爲0。
麻省理工公開課 - 計算機科學及編程導論課程節(jié)選 返回 divide by zero