NumPy版本为1.9.0
1 & (2**63)
0
np.bitwise_and(1, 2**63)
TypeError: ufunc 'bitwise_and' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
np.bitwise_and(1, 2**63 + 100)
TypeError: ufunc 'bitwise_and' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
np.bitwise_and(1, 2**64)
0
这是一个 bug 吗?还是我漏掉了什么?