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.
根據(jù)這些值和第 7 行中的語句,我們可以推斷出算術(shù)異常是由除數(shù)為 0 的除法運(yùn)算造成的。 - 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.
我下一步都沒法開始,實(shí)際上,我的程序會崩潰,因?yàn)槲以囍コ?了,真糟糕,提示你:如果你想用牛頓的方法,第一個猜想數(shù)別設(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.
我下一步都沒法開始,實(shí)際上,我的程序會崩潰,因?yàn)槲以囍コ?了,真糟糕,提示你:如果你想用牛頓的方法,第一個猜想數(shù)別設(shè)為0。
麻省理工公開課 - 計算機(jī)科學(xué)及編程導(dǎo)論課程節(jié)選 返回 divide by zero