A method of integer division using floating-pointdivision is introduced in this paper.
本文提出一种用浮点除法来实现整数除法的方法。
2
The problem is in line 4, which uses floor division instead of floating-pointdivision.
那问题实际是在第四行,应该用浮点除法,结果多打了一个右斜杠,弄成了地板除法,才导致的错误。
3
So what that means is the compiler is actually going to first "cast" so to speak 13 from whatever it is - to a float -- to a floatingpoint value -- and then perform the division for us.