This website requires JavaScript.
Explore
Help
Register
Sign In
songtianlun
/
PracticeDev
Watch
1
Star
0
Fork
0
You've already forked PracticeDev
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
f9c247264f
PracticeDev
/
study_clang
/
BitArithmetic
/
README.md
songtianlun
1f6df32092
clean and init practice repo
2022-12-20 17:31:11 +08:00
238 B
Raw
Blame
History
Unescape
Escape
位运算实现四则运算
尝试进行各种情况下位运算实现的四则运算和原生四则运算的速度。
结论
C程序下乘除2
,
位运算更快。
其他情况下位运算提供的四则运算速度较慢。