如何找到电脑模? [英] How do computers find modulus?
本文介绍了如何找到电脑模?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有一些很酷的算法,逐位操作?
Is there some cool algorithm with bit wise operations?
推荐答案
通常情况下,处理器的模量和除法运算是一回事。例如,请参阅 http://jsimlo.sk/docs/cpu/index。 PHP / div.html 。这是英特尔处理器的除法指令的执行。
Often, the modulus and divide operations on a processor are the same thing. For instance, refer to http://jsimlo.sk/docs/cpu/index.php/div.html . This is the implementation of the divide instruction on Intel processors.
这篇关于如何找到电脑模?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文