Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
因此,如果我让我们说 4 个整数:
诠释 a = 50000 诠释 b = 5000000 诠释 c = 100 诠释 d = 500
现在我想要运行的是 b - a 和 c - d。
我的问题是 ba 的运行速度会比 c - d 稍慢,或者它们会被处理器以完全相同的速度执行吗?
首先,在您介绍的情况下,操作将完全相同。您可以在此处阅读有关这些电路如何工作的信息
其次,现在所有计算机上的定点数学都非常非常快。如果这是你的瓶颈,我不知道该告诉你什么。