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.
硬件或软件中是否有一种无需借位即可快速减去的方法?IE。9 - 11 = 98 我想在 C++ 中实现它,但内联汇编是一种选择。
9 - 11 = 98
我想你想要abs((X % 10) - (Y % 10))
abs((X % 10) - (Y % 10))