Bitwise shift returns unexpected value in Python

后端 未结 0 1757
终归单人心
终归单人心 2020-12-13 03:39

I\'m performing 55 << 30 in C# and Python 3. C# returns -1073741824, which is what I want, but Python returns 59055800320. Can s

相关标签:
回答
  • 消灭零回复
提交回复
热议问题