C语言中的undefined behavior系列(4) -- negative zeros

The arguments tocertain operators are such that could produce a negative zero result, but theimplementation does not support negative zeros (6.2.6.2).

如果最高位为符号位,0x00000000是正零,0x80000000是负零。

posted @ 2010-08-31 19:27  嗷嗷  阅读(425)  评论(0编辑  收藏  举报