PracticeDev/study_clang/BitArithmetic/README.md

9 lines
238 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 位运算实现四则运算
尝试进行各种情况下位运算实现的四则运算和原生四则运算的速度。
## 结论
- C程序下乘除2位运算更快。
- 其他情况下位运算提供的四则运算速度较慢。