Detect one's or two's complement architecture in C++?
什么是最可靠的方法来检测架构在C ++中使用一个或两个补码表示法?
You shouldn't have to worry - there aren't too many ones complement machines out there :)
But the easiest thing might be to compare "-1" with ~0.
链接地址: http://www.djcxy.com/p/71400.html上一篇: 在单台计算机上模拟p2p网络流量
下一篇: 在C ++中检测一个或两个补码架构?