计算公式

 X % 2^n  = X & (2^n - 1)

原文地址:https://www.cnblogs.com/zeenzhou/p/11462921.html