How to divide unsigned integer of 256 and round to the closer value?
如何划分的无符号整数的256轮靠近价值?
So even if the correct mathematical answer is 1.4 or whatever, when you divide an int by an int, you only have room in that variable, in the response for an actual integer.
所以即使那个正确的答案是4,或别的数值,当你用一个整型数除以一个整型数,在那个变量的返回值里,只有,存储一个整型数的空间。
Now we can multiply frequencies by integer values. But how can we multiply our frequency by fractional values or divide it?
现在我们可以倍增整数频率,但是我们如何以分数倍增频率,或者分频呢?
Right, that divide is, if x is an integer and two is an integer, what's it going to do?
好,这个除法意思是,如果x是个整数而2也是个整数,那么会怎么操作呢?
应用推荐